Searched defs:NamedStopWatch (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.cpp42 const uint64_t NamedStopWatch::kDefaultLoggingPeriodInFrames = 100;
44 NamedStopWatch::NamedStopWatch(const std::string& name) function in class:android::filterfw::NamedStopWatch
52 void NamedStopWatch::Start() {
56 void NamedStopWatch::Stop() {
73 static NamedStopWatch* GetWatchForName(const string& watch_name) {
74 // TODO: this leaks the NamedStopWatch objects. Replace it with a
76 static map<string, NamedStopWatch*> watches;
77 NamedStopWatch* watch = FindPtrOrNull(watches, watch_name);
79 watch = new NamedStopWatch(watch_nam
[all...]
H A Dtime_util.h30 class NamedStopWatch : public RefBase { class in namespace:android::filterfw
34 explicit NamedStopWatch(const string& name);
58 explicit ScopedTimer(NamedStopWatch* watch)
63 NamedStopWatch* mWatch;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp40 const uint64_t NamedStopWatch::kDefaultLoggingPeriodInFrames = 100;
42 NamedStopWatch::NamedStopWatch(const std::string& name) function in class:android::filterfw::NamedStopWatch
50 void NamedStopWatch::Start() {
54 void NamedStopWatch::Stop() {
71 static NamedStopWatch* GetWatchForName(const std::string& watch_name) {
72 // TODO: this leaks the NamedStopWatch objects. Replace it with a
74 static std::map<std::string, NamedStopWatch*> watches;
75 NamedStopWatch* watch = FindPtrOrNull(watches, watch_name);
77 watch = new NamedStopWatch(watch_nam
[all...]
H A Dtime_util.h30 class NamedStopWatch : public RefBase { class in namespace:android::filterfw
34 explicit NamedStopWatch(const std::string& name);
58 explicit ScopedTimer(NamedStopWatch* watch)
63 NamedStopWatch* mWatch;

Completed in 39 milliseconds