Searched refs:runningAverage (Results 1 – 25 of 31) sorted by relevance
12
73 …ctx->runningAverage = (((ctx->averagedOver-1) * ctx->runningAverage) + ctx->averageReading) / ctx-… in findThreshold()75 if (ctx->runningAverage > threshold) { in findThreshold()76 return ctx->runningAverage; in findThreshold()84 return ctx->runningAverage; in getSampledData()94 std::cout << "(" << ctx->runningAverage << ") | "; in printGraph()95 for (int i = 0; i < ctx->runningAverage / resolution; i++) in printGraph()
31 long runningAverage; member
88 …ctx->runningAverage = (((ctx->averagedOver-1) * ctx->runningAverage) + ctx->averageReading) / ctx-… in findThreshold()90 if (ctx->runningAverage > threshold) { in findThreshold()91 return ctx->runningAverage; in findThreshold()99 for (int i = 0; i < ctx->runningAverage; i++) in printGraph()
32 long runningAverage; member
30 threshContext.runningAverage = 0
48 threshContext.runningAverage = 0
34 threshContext.runningAverage = 0;
35 threshContext.runningAverage = 0;
56 ctx.runningAverage = 0; in main()
54 ctx.runningAverage = 0; in main()
55 ctx.runningAverage = 0; in main()