The number of microseconds elapsed since January 1, 1970

Uses the Unix function gettimeofday.

Property definitions

core :: time $ Sys :: get_microtime
# The number of microseconds elapsed since January 1, 1970
#
# Uses the Unix function `gettimeofday`.
fun get_microtime: Int `{
	struct timeval val;
	gettimeofday(&val, NULL);
	return val.tv_sec * 1000000 + val.tv_usec;
`}
lib/core/time.nit:35,1--42,2