Home
last modified time | relevance | path

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

/external/libgdx/gdx/src/com/badlogic/gdx/input/
DGestureDetector.java384 long[] meanTime = new long[sampleSize]; field in GestureDetector.VelocityTracker
395 meanTime[i] = 0; in start()
411 meanTime[index] = deltaTime; in update()
417 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityX() local
418 if (meanTime == 0) return 0; in getVelocityX()
419 return meanX / meanTime; in getVelocityX()
424 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f; in getVelocityY() local
425 if (meanTime == 0) return 0; in getVelocityY()
426 return meanY / meanTime; in getVelocityY()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
Dsieve.cpp156 double meanTime = times[0]; in uprv_getMeanTime() local
160 meanTime+=times[i]; in uprv_getMeanTime()
162 meanTime /= n; in uprv_getMeanTime()
172 sd += (times[i]-meanTime)*(times[i]-meanTime); in uprv_getMeanTime()
177 printf("sd: %.9f, mean: %.9f\n", sd, meanTime); in uprv_getMeanTime()
186 return meanTime; in uprv_getMeanTime()
/external/skia/samplecode/
DSampleAnimatedText.cpp87 float meanTime = 0.0f; in onDrawContent() local
89 meanTime += fTimes[i]; in onDrawContent()
91 meanTime /= 32.f; in onDrawContent()
92 SkScalar fps = 1000.f / meanTime; in onDrawContent()
95 outString.appendScalar(meanTime); in onDrawContent()
DSampleShip.cpp118 float meanTime = 0.0f; in onDrawContent() local
120 meanTime += fTimes[i]; in onDrawContent()
122 meanTime /= 32.f; in onDrawContent()
124 SkScalar fps = 1000.f/meanTime; in onDrawContent()
127 outString.appendScalar(meanTime); in onDrawContent()
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp135 float meanTime = 0.0f; in main() local
137 meanTime += times[i]; in main()
139 meanTime /= 32.f; in main()
141 float fps = 1000.f/meanTime; in main()
142 sprintf(outString, "fps: %f ms: %f", fps, meanTime); in main()
/external/opencv3/samples/gpu/performance/
Dperformance.h69 cpu_elapsed_ += meanTime(cpu_times_); in cpuComplete()
83 gpu_elapsed_ += meanTime(gpu_times_); in gpuComplete()
114 double meanTime(const std::vector<int64> &samples);
Dperformance.cpp77 double TestSystem::meanTime(const vector<int64> &samples) in meanTime() function in TestSystem