Home
last modified time | relevance | path

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

/system/extras/micro_bench/
Dmicro_bench.cpp130 static inline double computeRunningAvg(double avg, double running_avg, size_t cur_idx) { in computeRunningAvg() argument
131 return (running_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)); in computeRunningAvg()
134 static inline double computeRunningSquareAvg(double avg, double square_avg, size_t cur_idx) { in computeRunningSquareAvg() argument
135 return (square_avg / (cur_idx + 1)) * cur_idx + (avg / (cur_idx + 1)) * avg; in computeRunningSquareAvg()