Searched defs:NanoTime (Results 1 - 3 of 3) sorted by relevance

/system/core/libunwindstack/tests/
H A DMemoryRemoteTest.cpp42 static uint64_t NanoTime() { function in class:unwindstack::MemoryRemoteTest
53 uint64_t start = NanoTime();
56 if ((NanoTime() - start) > 10 * NS_PER_SEC) {
/system/core/liblog/tests/
H A Dbenchmark_main.cpp52 static uint64_t NanoTime() { function
111 uint64_t StartTimeNs = NanoTime();
116 gBenchmarkTotalTimeNs = NanoTime() - StartTimeNs;
123 uint64_t s = NanoTime();
125 s = NanoTime() - s;
136 s = NanoTime();
138 s = NanoTime() - s;
187 int64_t diff = NanoTime() - gBenchmarkStartTimeNs;
197 gBenchmarkStartTimeNs = NanoTime();
201 void StopBenchmarkTiming(uint64_t NanoTime) { argument
213 StartBenchmarkTiming(uint64_t NanoTime) argument
[all...]
/system/core/libbacktrace/
H A Dbacktrace_test.cpp85 static uint64_t NanoTime() { function
104 uint64_t start = NanoTime();
108 if ((NanoTime() - start) > NS_PER_SEC) {
220 uint64_t start = NanoTime();
225 } while ((NanoTime() - start) < seconds * NS_PER_SEC);
315 uint64_t start = NanoTime();
342 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC);
453 uint64_t start = NanoTime();
459 ((NanoTime() - start) <= 5 * NS_PER_SEC));
1074 uint64_t start = NanoTime();
[all...]

Completed in 70 milliseconds