Searched refs:square_avg (Results 1 - 1 of 1) sorted by relevance
/system/extras/micro_bench/ |
H A D | micro_bench.cpp | 135 static inline double computeRunningSquareAvg(double avg, double square_avg, size_t cur_idx) { argument 136 return (square_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)) * avg; 139 static inline double computeStdDev(double square_avg, double running_avg) { argument 140 return sqrt(square_avg - running_avg * running_avg); 184 double running_avg, double square_avg, double min, double max) { 187 computeStdDev(running_avg, square_avg)/1024.0, min/1024.0, max/1024.0); 195 double min = 0.0, max = 0.0, running_avg = 0.0, square_avg = 0.0; \ 204 square_avg = computeRunningSquareAvg(avg, square_avg, i); \ 229 double std_dev = computeStdDev(square_avg, running_av 182 printColdSummary( uint64_t , const char *name, size_t size, size_t copies, size_t num_buffers, double running_avg, double square_avg, double min, double max) argument [all...] |
Completed in 40 milliseconds