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

/external/chromium/base/metrics/
H A Dstats_counters.cc66 StatsCounterTimer::StatsCounterTimer(const std::string& name) { function in class:base::StatsCounterTimer
76 StatsCounterTimer::~StatsCounterTimer() {
79 void StatsCounterTimer::Start() {
87 void StatsCounterTimer::Stop() {
95 bool StatsCounterTimer::Running() {
100 void StatsCounterTimer::AddTime(TimeDelta time) {
104 void StatsCounterTimer::Record() {
110 : StatsCounterTimer(nam
[all...]
H A Dstats_counters.h129 // A StatsCounterTimer is a StatsCounter which keeps a timer during
130 // the scope of the StatsCounterTimer. On destruction, it will record
132 class BASE_API StatsCounterTimer : protected StatsCounter { class in namespace:base
135 explicit StatsCounterTimer(const std::string& name);
136 virtual ~StatsCounterTimer();
161 class BASE_API StatsRate : public StatsCounterTimer {
H A Dstats_table_unittest.cc293 class MockStatsCounterTimer : public StatsCounterTimer {
296 : StatsCounterTimer(name) {}
302 // Test some basic StatsCounterTimer operations
303 TEST_F(StatsTableTest, StatsCounterTimer) {
378 StatsCounterTimer foo("foo");
390 StatsScope<StatsCounterTimer> timer(foo);
400 StatsScope<StatsCounterTimer> timer(foo);
/external/v8/src/
H A Dcounters.cc49 void StatsCounterTimer::Start() {
57 void StatsCounterTimer::Stop() {
H A Dcounters.h183 // StatsCounterTimer t = { { L"t:foo", NULL, false }, 0, 0 };
184 struct StatsCounterTimer { struct in namespace:v8::internal
/external/chromium/net/tools/fetch/
H A Dfetch_client.cc170 base::StatsCounterTimer driver_time("FetchClient.total_time");
171 base::StatsScope<base::StatsCounterTimer> scope(driver_time);

Completed in 67 milliseconds