Skip to content

Commit 7b9b209

Browse files
committed
is timespec broken
1 parent cc64bff commit 7b9b209

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stresstest.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ static __inline long lrand48(void) {
7373
}
7474

7575
static __inline double utime(void) {
76-
struct timespec ts;
77-
timespec_get(&ts, TIME_UTC);
78-
return 1000000.0 * ts.tv_sec + ts.tv_nsec / 1000.0;
76+
//struct timespec ts;
77+
//timespec_get(&ts, TIME_UTC);
78+
//return 1000000.0 * ts.tv_sec + ts.tv_nsec / 1000.0;
79+
return lrand48();
7980
}
8081
#else
8182

0 commit comments

Comments
 (0)