tstamp !
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
#include<signal.h>
|
#include<signal.h>
|
||||||
#include<stdint.h>
|
#include<stdint.h>
|
||||||
#include<assert.h>
|
#include<assert.h>
|
||||||
|
#include <time.h>
|
||||||
double tstamp(void) {
|
double tstamp(void) {
|
||||||
struct timespec tv;
|
struct timespec tv;
|
||||||
clock_gettime(CLOCK_REALTIME, &tv);
|
clock_gettime(CLOCK_REALTIME, &tv);
|
||||||
|
|||||||
Reference in New Issue
Block a user