gettimeofday(): an implementation based on CPU invariant TSC support

This commit is contained in:
Balazs Gerofi
2015-08-24 23:41:31 +02:00
parent b8f166e608
commit 9ae5bcf46e
8 changed files with 193 additions and 33 deletions

View File

@ -19,6 +19,8 @@
#ifndef __TIME_H
#define __TIME_H
#define NS_PER_SEC 1000000000UL
typedef long int __time_t;
/* POSIX.1b structure for a time value. This is like a `struct timeval' but