Home
last modified time | relevance | path

Searched refs:time_ns (Results 1 – 2 of 2) sorted by relevance

/system/extras/micro_bench/
Dmicro_bench.cpp135 static inline double computeAverage(uint64_t time_ns, size_t size, size_t copies) { in computeAverage() argument
136 return ((size/1024.0) * copies) / ((double)time_ns/NS_PER_SEC); in computeAverage()
151 static inline void printIter(uint64_t time_ns, const char *name, size_t size, size_t copies, double… in printIter() argument
153 name, copies, size, (double)time_ns/NS_PER_SEC, avg/1024.0); in printIter()
181 static inline double computeColdAverage(uint64_t time_ns, size_t size, size_t copies, size_t num_bu… in computeColdAverage() argument
182 return ((size/1024.0) * copies * num_buffers) / ((double)time_ns/NS_PER_SEC); in computeColdAverage()
185 static void inline printColdIter(uint64_t time_ns, const char *name, size_t size, size_t copies, si… in printColdIter() argument
187 name, copies, num_buffers, size, (double)time_ns/NS_PER_SEC, avg/1024.0); in printColdIter()
199 uint64_t time_ns; \
206 time_ns = nanoTime(); \
[all …]
/system/chre/chre_api/include/chre_api/chre/
Dgnss.h201 int64_t time_ns; member