D | micro_bench.cpp | 135 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() 156 static inline void printSummary(uint64_t /*time_ns*/, const char *name, size_t size, size_t copies,… in printSummary() argument 158 name, copies, size, running_avg/1024.0, std_dev/1024.0, min/1024.0, in printSummary() 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() [all …]
|