GetCounterValue 445 base/metrics/stats_table.cc return GetCounterValue(name, 0); GetCounterValue 108 base/metrics/stats_table.h int GetCounterValue(const std::string& name); GetCounterValue 112 base/metrics/stats_table.h int GetCounterValue(const std::string& name, int pid); GetCounterValue 155 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue(name)); GetCounterValue 158 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 161 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 164 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 167 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 233 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue(name)); GetCounterValue 236 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 239 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 242 base/metrics/stats_table_unittest.cc table.GetCounterValue(name)); GetCounterValue 271 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:foo")); GetCounterValue 275 base/metrics/stats_table_unittest.cc EXPECT_EQ(123, table.GetCounterValue("c:foo")); GetCounterValue 277 base/metrics/stats_table_unittest.cc EXPECT_EQ(123, table.GetCounterValue("c:foo")); GetCounterValue 279 base/metrics/stats_table_unittest.cc EXPECT_EQ(122, table.GetCounterValue("c:foo")); GetCounterValue 283 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:foo")); GetCounterValue 285 base/metrics/stats_table_unittest.cc EXPECT_EQ(100, table.GetCounterValue("c:foo")); GetCounterValue 287 base/metrics/stats_table_unittest.cc EXPECT_EQ(-1, table.GetCounterValue("c:foo")); GetCounterValue 289 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:foo")); GetCounterValue 293 base/metrics/stats_table_unittest.cc EXPECT_EQ(-1, table.GetCounterValue("c:foo")); GetCounterValue 295 base/metrics/stats_table_unittest.cc EXPECT_EQ(-1, table.GetCounterValue("c:foo")); GetCounterValue 297 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:foo")); GetCounterValue 334 base/metrics/stats_table_unittest.cc EXPECT_GT(table.GetCounterValue("t:bar"), 0); GetCounterValue 335 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:bar")); GetCounterValue 341 base/metrics/stats_table_unittest.cc EXPECT_GT(table.GetCounterValue("t:bar"), 0); GetCounterValue 342 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:bar")); GetCounterValue 360 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:baz")); GetCounterValue 361 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("t:baz")); GetCounterValue 369 base/metrics/stats_table_unittest.cc EXPECT_EQ(1, table.GetCounterValue("c:baz")); GetCounterValue 370 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:baz")); GetCounterValue 376 base/metrics/stats_table_unittest.cc EXPECT_EQ(2, table.GetCounterValue("c:baz")); GetCounterValue 377 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:baz")); GetCounterValue 395 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("t:foo")); GetCounterValue 396 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("t:bar")); GetCounterValue 397 base/metrics/stats_table_unittest.cc EXPECT_EQ(0, table.GetCounterValue("c:bar")); GetCounterValue 407 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:foo")); GetCounterValue 408 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds(), table.GetCounterValue("t:bar")); GetCounterValue 409 base/metrics/stats_table_unittest.cc EXPECT_EQ(1, table.GetCounterValue("c:bar")); GetCounterValue 417 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:foo")); GetCounterValue 418 base/metrics/stats_table_unittest.cc EXPECT_LE(kDuration.InMilliseconds() * 2, table.GetCounterValue("t:bar")); GetCounterValue 419 base/metrics/stats_table_unittest.cc EXPECT_EQ(2, table.GetCounterValue("c:bar")); GetCounterValue 98 chrome/renderer/benchmarking_extension.cc int counter = base::StatsTable::current()->GetCounterValue(name); GetCounterValue 109 chrome/renderer/benchmarking_extension.cc int counter = base::StatsTable::current()->GetCounterValue(