Home | History | Annotate | Download | only in memtest

Lines Matching defs:nsecs_t

42 typedef long long nsecs_t;
44 static nsecs_t system_time()
49 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec;
52 nsecs_t loop_overhead(size_t count) __attribute__((noinline));
53 nsecs_t loop_overhead(size_t count)
55 nsecs_t overhead = -system_time();
185 const nsecs_t overhead = loop_overhead(REPEAT);
193 nsecs_t t = -system_time();
303 const nsecs_t overhead = loop_overhead(REPEAT);
308 nsecs_t t = -system_time();
442 const nsecs_t overhead = loop_overhead(REPEAT);
450 nsecs_t t = -system_time();
553 const nsecs_t overhead = loop_overhead(REPEAT);
560 nsecs_t t = -system_time();
703 nsecs_t t = system_time();