Home
last modified time | relevance | path

Searched refs:StatsCounterTimer (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/base/metrics/
Dstats_counters.cc66 StatsCounterTimer::StatsCounterTimer(const std::string& name) { in StatsCounterTimer() function in base::StatsCounterTimer
76 StatsCounterTimer::~StatsCounterTimer() { in ~StatsCounterTimer()
79 void StatsCounterTimer::Start() { in Start()
87 void StatsCounterTimer::Stop() { in Stop()
95 bool StatsCounterTimer::Running() { in Running()
100 void StatsCounterTimer::AddTime(TimeDelta time) { in AddTime()
104 void StatsCounterTimer::Record() { in Record()
110 : StatsCounterTimer(name), in StatsRate()
120 StatsCounterTimer::Add(value); in Add()
Dstats_counters.h132 class BASE_EXPORT StatsCounterTimer : protected StatsCounter {
135 explicit StatsCounterTimer(const std::string& name);
136 virtual ~StatsCounterTimer();
161 class BASE_EXPORT StatsRate : public StatsCounterTimer {
Dstats_table_unittest.cc290 class MockStatsCounterTimer : public StatsCounterTimer {
293 : StatsCounterTimer(name) {} in MockStatsCounterTimer()
300 TEST_F(StatsTableTest, StatsCounterTimer) { in TEST_F() argument
371 StatsCounterTimer foo("foo"); in TEST_F()
383 StatsScope<StatsCounterTimer> timer(foo); in TEST_F()
393 StatsScope<StatsCounterTimer> timer(foo); in TEST_F()
/external/chromium_org/chrome/app/
Dchrome_main_delegate.h66 scoped_ptr<base::StatsCounterTimer> stats_counter_timer_;
67 scoped_ptr<base::StatsScope<base::StatsCounterTimer> > startup_timer_;
Dchrome_main_delegate.cc674 stats_counter_timer_.reset(new base::StatsCounterTimer("Chrome.Init")); in PreSandboxStartup()
675 startup_timer_.reset(new base::StatsScope<base::StatsCounterTimer> in PreSandboxStartup()
/external/chromium_org/content/renderer/
Drenderer_main.cc143 base::StatsCounterTimer stats_counter_timer("Content.RendererInit"); in RendererMain()
144 base::StatsScope<base::StatsCounterTimer> startup_timer(stats_counter_timer); in RendererMain()