/system/core/include/utils/ |
StopWatch.h | 29 class StopWatch 32 StopWatch( const char *name, 35 ~StopWatch();
|
/system/core/libutils/ |
StopWatch.cpp | 17 #define LOG_TAG "StopWatch" 31 #include <utils/StopWatch.h> 38 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) 44 StopWatch::~StopWatch() 48 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); 56 const char* StopWatch::name() const 61 nsecs_t StopWatch::lap() 75 nsecs_t StopWatch::elapsedTime() cons [all...] |
Android.mk | 29 StopWatch.cpp \
|
/system/extras/tests/sdcard/ |
testcase.h | 34 #include "stopwatch.h" 99 void setDump() { StopWatch::setPrintRawMode(true); } 101 StopWatch *testTimer() { return mTestTimer; } 102 StopWatch *openTimer() { return mOpenTimer; } 103 StopWatch *readTimer() { return mReadTimer; } 104 StopWatch *writeTimer() { return mWriteTimer; } 105 StopWatch *syncTimer() { return mSyncTimer; } 106 StopWatch *truncateTimer() { return mTruncateTimer; } 107 StopWatch *traverseTimer() { return mTraverseTimer; } 158 StopWatch *mTestTimer; // Used to time the test overall [all...] |
stopwatch.h | 38 // StopWatch class to collect execution statistics. 45 // If StopWatch::setPrintRawMode(true) has been called, the raw 62 // StopWatch watch("my name", 20); 75 class StopWatch { 91 StopWatch(const char *name, size_t capacity = kUseDefaultCapacity); 92 ~StopWatch(); 94 // A StopWatch instance measures time intervals. Use setDataSize
|
stopwatch.cpp | 33 #include "stopwatch.h" 54 StopWatch::StopWatch(const char *name, size_t capacity) 67 StopWatch::~StopWatch() 78 void StopWatch::start() 92 void StopWatch::stop() 100 void StopWatch::setPrintRawMode(bool raw) 106 void StopWatch::sprint(char **str, size_t *size) 121 SNPRINTF_OR_RETURN(*str, *size, "# StopWatch %s total/cumulative duration %f Samples: %d\n" [all...] |
testcase.cpp | 153 mTestTimer = new StopWatch(total_time, 1); 156 mOpenTimer = new StopWatch("open", iter() * kReadWriteFactor); 158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); 161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); 164 mSyncTimer = new StopWatch("sync", iter()); 166 mTruncateTimer = new StopWatch("truncate", iter()); 168 mTraverseTimer = new StopWatch("traversal", iter());
|
/packages/apps/Email/src/com/android/email/ |
StopWatch.java | 28 * StopWatch s = StopWatch.start(); 37 public class StopWatch { 42 private StopWatch(String name) { 46 LogUtils.w(Logging.LOG_TAG, "StopWatch(" + mName + ") start"); 49 public static StopWatch start(String name) { 50 return new StopWatch(name); 56 LogUtils.w(Logging.LOG_TAG, "StopWatch(" + mName + ") split(" + label + ") " + elapse); 62 LogUtils.w(Logging.LOG_TAG, "StopWatch(" + mName + ") stop: "
|
/frameworks/native/opengl/tests/gralloc/ |
gralloc.cpp | 18 #define LOG_TAG "StopWatch" 22 #include <utils/StopWatch.h> 65 StopWatch watch("memset"); 71 StopWatch watch("memcpy baseline"); 77 StopWatch watch("memcpy from gralloc"); 83 StopWatch watch("memcpy into gralloc"); 90 StopWatch watch("lamecpy baseline"); 96 StopWatch watch("lamecpy from gralloc"); 102 StopWatch watch("lamecpy into gralloc");
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
StopWatch.java | 34 public class StopWatch implements TimeInstrument { 41 public StopWatch(String name) { 45 StopWatch(StopWatch original) { 69 public StopWatch stop(long stopTime) { 78 buf.append("StopWatch ["); 113 throw new UnsupportedOperationException("A stopwatch instance does not know how to log");
|
Profiler.java | 58 final StopWatch globalStopWatch; 69 this.globalStopWatch = new StopWatch(name); 102 StopWatch childSW = new StopWatch(name); 222 public StopWatch getCopyOfGlobalStopWatch() { 223 StopWatch copy = new StopWatch(globalStopWatch); 236 if (child instanceof StopWatch) { 237 buildStopWatchString(buf, du, ELAPSED_TIME, indentation, (StopWatch) child); 249 private static void buildStopWatchString(StringBuilder buf, DurationUnit du, String prefix, String indentation, StopWatch sw) [all...] |
Util.java | 43 static DurationUnit selectDurationUnitForDisplay(StopWatch sw) { 71 static String durationInDurationUnitsAsStr(StringBuilder buf, StopWatch sw) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
StopWatchMap.java | 26 class StopWatch { 36 public StopWatch(String name) { 46 "Calling start with StopWatch already running"); 54 "Calling stop with StopWatch already stopped"); 74 private HashMap<String, StopWatch> mStopWatches = null; 77 mStopWatches = new HashMap<String, StopWatch>(); 85 mStopWatches.put(stopWatchName, new StopWatch(stopWatchName));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
StopWatch.java | 26 * A {@link StopWatch} records start, laps and stop, and print them to logcat. 28 public class StopWatch { 35 private StopWatch(String label) { 43 public static StopWatch start(String label) { 44 return new StopWatch(label); 89 public static StopWatch getNullStopWatch() { 93 private static class NullStopWatch extends StopWatch {
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
ProfilerTest.java | 43 StopWatch gSW = profiler.globalStopWatch; 67 StopWatch gSW = profiler.globalStopWatch; 102 StopWatch gSW = profiler.globalStopWatch;
|
/hardware/libhardware/tests/input/evdev/ |
InputHub_test.cpp | 27 #include <utils/StopWatch.h> 32 // # of milliseconds to fudge stopwatch measurements 89 StopWatch stopWatch("poll"); 91 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); 116 StopWatch stopWatch("poll"); 118 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); 150 StopWatch stopWatch("poll") [all...] |
/system/core/libutils/tests/ |
Looper_test.cpp | 7 #include <utils/StopWatch.h> 14 // # of milliseconds to fudge stopwatch measurements 116 StopWatch stopWatch("pollOnce"); 118 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); 129 StopWatch stopWatch("pollOnce"); 131 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); 143 StopWatch stopWatch("pollOnce") [all...] |
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 26 #include <utils/StopWatch.h>
|
/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 25 #include <utils/StopWatch.h>
|
/frameworks/native/libs/input/tests/ |
InputChannel_test.cpp | 26 #include <utils/StopWatch.h>
|
InputPublisherAndConsumer_test.cpp | 27 #include <utils/StopWatch.h>
|
/frameworks/native/opengl/tests/fillrate/ |
fillrate.cpp | 27 #include <utils/StopWatch.h>
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
DialerDatabaseHelper.java | 40 import com.android.contacts.common.util.StopWatch; [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSCompilerDriver.cpp | 50 #include <utils/StopWatch.h> 233 // android::StopWatch build_time("bcc: RSCompilerDriver::build time");
|
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/ |
commons-lang3-3.2.1.jar | |