Searched refs: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.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 std::string& watch_name) {
74 // TODO: this leaks the NamedStopWatch objects. Replace it with a
76 static std::map<std::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 std::string& name);
58 explicit ScopedTimer(NamedStopWatch* watch)
63 NamedStopWatch* mWatch;

Completed in 147 milliseconds