Searched refs:StopWatch (Results 1 – 9 of 9) sorted by relevance
/system/extras/tests/sdcard/ |
D | testcase.h | 99 void setDump() { StopWatch::setPrintRawMode(true); } in setDump() 101 StopWatch *testTimer() { return mTestTimer; } in testTimer() 102 StopWatch *openTimer() { return mOpenTimer; } in openTimer() 103 StopWatch *readTimer() { return mReadTimer; } in readTimer() 104 StopWatch *writeTimer() { return mWriteTimer; } in writeTimer() 105 StopWatch *syncTimer() { return mSyncTimer; } in syncTimer() 106 StopWatch *truncateTimer() { return mTruncateTimer; } in truncateTimer() 107 StopWatch *traverseTimer() { return mTraverseTimer; } in traverseTimer() 158 StopWatch *mTestTimer; // Used to time the test overall. 159 StopWatch *mOpenTimer; // Used to time the open calls. [all …]
|
D | stopwatch.cpp | 54 StopWatch::StopWatch(const char *name, size_t capacity) in StopWatch() function in android_test::StopWatch 67 StopWatch::~StopWatch() in ~StopWatch() 78 void StopWatch::start() in start() 92 void StopWatch::stop() in stop() 100 void StopWatch::setPrintRawMode(bool raw) in setPrintRawMode() 106 void StopWatch::sprint(char **str, size_t *size) in sprint() 149 void StopWatch::checkCapacity() in checkCapacity() 165 void StopWatch::processSamples() in processSamples() 209 double StopWatch::timespecToDouble(const struct timespec& time) in timespecToDouble() 217 void StopWatch::printAverageMinMax(char **str, size_t *size) in printAverageMinMax() [all …]
|
D | testcase.cpp | 153 mTestTimer = new StopWatch(total_time, 1); in createTimers() 156 mOpenTimer = new StopWatch("open", iter() * kReadWriteFactor); in createTimers() 158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); in createTimers() 161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); in createTimers() 164 mSyncTimer = new StopWatch("sync", iter()); in createTimers() 166 mTruncateTimer = new StopWatch("truncate", iter()); in createTimers() 168 mTraverseTimer = new StopWatch("traversal", iter()); in createTimers()
|
D | stopwatch.h | 75 class StopWatch { 91 StopWatch(const char *name, size_t capacity = kUseDefaultCapacity); 92 ~StopWatch();
|
D | sdcard_perf_test.cpp | 99 using android_test::StopWatch;
|
/system/core/libutils/ |
D | StopWatch.cpp | 38 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) in StopWatch() function in android::StopWatch 44 StopWatch::~StopWatch() in ~StopWatch() 56 const char* StopWatch::name() const in name() 61 nsecs_t StopWatch::lap() in lap() 75 nsecs_t StopWatch::elapsedTime() const in elapsedTime() 80 void StopWatch::reset() in reset()
|
D | Android.mk | 31 StopWatch.cpp \
|
/system/core/libutils/tests/ |
D | Looper_test.cpp | 116 StopWatch stopWatch("pollOnce"); in TEST_F() 129 StopWatch stopWatch("pollOnce"); in TEST_F() 143 StopWatch stopWatch("pollOnce"); in TEST_F() 154 StopWatch stopWatch("pollOnce"); in TEST_F() 170 StopWatch stopWatch("pollOnce"); in TEST_F() 189 StopWatch stopWatch("pollOnce"); in TEST_F() 211 StopWatch stopWatch("pollOnce"); in TEST_F() 230 StopWatch stopWatch("pollOnce"); in TEST_F() 256 StopWatch stopWatch("pollOnce"); in TEST_F() 282 StopWatch stopWatch("pollOnce"); in TEST_F() [all …]
|
/system/core/include/utils/ |
D | StopWatch.h | 29 class StopWatch 32 StopWatch( const char *name, 35 ~StopWatch();
|