You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/arch/um/os-Linux/time.c

21 lines
559 B

#include <stdlib.h>
#include <sys/time.h>
unsigned long long os_usecs(void)
{
struct timeval tv;
gettimeofday(&tv, NULL);
return((unsigned long long) tv.tv_sec * 1000000 + tv.tv_usec);
}
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/