HomeSort by relevance Sort by last modified time
    Searched refs:StopWatch (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/native/include/utils/
StopWatch.h 29 class StopWatch
32 StopWatch( const char *name,
35 ~StopWatch();
  /frameworks/native/libs/utils/
StopWatch.cpp 17 #define LOG_TAG "StopWatch"
29 #include <utils/StopWatch.h>
36 StopWatch::StopWatch(const char *name, int clock, uint32_t flags)
42 StopWatch::~StopWatch()
46 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed));
54 const char* StopWatch::name() const
59 nsecs_t StopWatch::lap()
73 nsecs_t StopWatch::elapsedTime() cons
    [all...]
Android.mk 36 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());
sdcard_perf_test.cpp 42 #include "stopwatch.h"
99 using android_test::StopWatch;
  /packages/apps/Email/src/com/android/email/
StopWatch.java 28 * StopWatch s = StopWatch.start();
37 public class StopWatch {
42 private StopWatch(String name) {
46 Log.w(Logging.LOG_TAG, "StopWatch(" + mName + ") start");
49 public static StopWatch start(String name) {
50 return new StopWatch(name);
56 Log.w(Logging.LOG_TAG, "StopWatch(" + mName + ") split(" + label + ") " + elapse);
63 Log.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");
  /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 {
  /frameworks/native/libs/utils/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...]
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
SmartDialLoaderTask.java 28 import com.android.contacts.common.util.StopWatch;
102 final StopWatch stopWatch = DEBUG ? StopWatch.start("Start Match") : null;
105 stopWatch.lap("Find matches");
110 stopWatch.lap("Sort");
138 stopWatch.stopAndLog(LOG_TAG + " Match Complete", 0);
SmartDialCache.java 35 import com.android.contacts.common.util.StopWatch;
221 final StopWatch stopWatch = DEBUG ? StopWatch.start("SmartDial Cache") : null;
229 stopWatch.lap("SmartDial query complete");
234 stopWatch.stopAndLog("SmartDial query received null for cursor", 0);
257 stopWatch.stopAndLog("SmartDial caching completed", 0);
DialpadFragment.java 81 import com.android.contacts.common.util.StopWatch;
544 final StopWatch stopWatch = StopWatch.start("Dialpad.onResume");
550 stopWatch.lap("qloc");
562 stopWatch.lap("dtwd");
567 stopWatch.lap("hptc");
581 stopWatch.lap("tg");
596 stopWatch.lap("fdin");
605 stopWatch.lap("tm")
    [all...]
  /external/webkit/Source/JavaScriptCore/
jsc.cpp 116 class StopWatch {
127 void StopWatch::start()
132 void StopWatch::stop()
137 long StopWatch::getElapsedMS()
217 StopWatch stopWatch;
218 stopWatch.start();
220 stopWatch.stop();
222 return JSValue::encode(jsNumber(stopWatch.getElapsedMS()));
248 StopWatch stopWatch
    [all...]
  /frameworks/native/opengl/tests/linetex/
linetex.cpp 28 #include <utils/StopWatch.h>
  /frameworks/native/opengl/tests/swapinterval/
swapinterval.cpp 25 #include <utils/StopWatch.h>
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java 75 import com.android.contacts.common.util.StopWatch;
157 private StopWatch mStopWatch = ENABLE_STOPWATCH
158 ? StopWatch.start("QuickContact") : StopWatch.getNullStopWatch();
551 mStopWatch = StopWatch.getNullStopWatch(); // We're done with it.
  /frameworks/base/libs/androidfw/tests/
InputChannel_test.cpp 19 #include <utils/StopWatch.h>
InputPublisherAndConsumer_test.cpp 19 #include <utils/StopWatch.h>
  /frameworks/native/opengl/tests/fillrate/
fillrate.cpp 27 #include <utils/StopWatch.h>
  /frameworks/compile/libbcc/lib/Renderscript/
RSCompilerDriver.cpp 37 #include <utils/StopWatch.h>
82 //android::StopWatch load_time("bcc: RSCompilerDriver::loadScriptCache time");
195 //android::StopWatch compile_time("bcc: RSCompilerDriver::compileScript time");
340 // android::StopWatch build_time("bcc: RSCompilerDriver::build time");
  /frameworks/native/services/surfaceflinger/
Layer.cpp 30 #include <utils/StopWatch.h>
    [all...]

Completed in 1357 milliseconds

1 2