Searched defs:NS_PER_SEC (Results 1 - 5 of 5) sorted by relevance
/system/core/include/log/ |
H A D | log_read.h | 24 #define NS_PER_SEC 1000000000ULL macro 140 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec;
|
H A D | logger.h | 77 #define NS_PER_SEC 1000000000ULL macro 119 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec;
|
/system/extras/memtrack/ |
H A D | memtrack.h | 27 #define NS_PER_SEC 1000000000LL macro
|
/system/core/libbacktrace/ |
H A D | backtrace_test.cpp | 51 #define NS_PER_SEC 1000000000ULL macro 82 return static_cast<uint64_t>(t.tv_sec * NS_PER_SEC + t.tv_nsec); 101 if ((NanoTime() - start) > NS_PER_SEC) { 196 } while ((NanoTime() - start) < seconds * NS_PER_SEC); 287 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); 403 ((NanoTime() - start) <= 5 * NS_PER_SEC));
|
/system/extras/micro_bench/ |
H A D | micro_bench.cpp | 41 #define NS_PER_SEC 1000000000 macro 90 return static_cast<uint64_t>(t.tv_sec) * NS_PER_SEC + t.tv_nsec; 127 return ((size/1024.0) * copies) / ((double)time_ns/NS_PER_SEC); 144 name, copies, size, (double)time_ns/NS_PER_SEC, avg/1024.0); 173 return ((size/1024.0) * copies * num_buffers) / ((double)time_ns/NS_PER_SEC); 178 name, copies, num_buffers, size, (double)time_ns/NS_PER_SEC, avg/1024.0); 375 (double)time_ns/NS_PER_SEC, 390 (double)time_ns/NS_PER_SEC,
|
Completed in 110 milliseconds