Home
last modified time | relevance | path

Searched refs:StatsCounter (Results 1 – 25 of 66) sorted by relevance

123

/external/chromium/base/metrics/
Dstats_counters.cc9 StatsCounter::StatsCounter(const std::string& name) in StatsCounter() function in base::StatsCounter
20 StatsCounter::~StatsCounter() { in ~StatsCounter()
23 void StatsCounter::Set(int value) { in Set()
29 void StatsCounter::Add(int value) { in Add()
35 StatsCounter::StatsCounter() in StatsCounter() function in base::StatsCounter
39 int* StatsCounter::GetPtr() { in GetPtr()
Dstats_table_unittest.cc90 StatsCounter zero_counter(kCounterZero); in Run()
91 StatsCounter lucky13_counter(kCounter1313); in Run()
92 StatsCounter increment_counter(kCounterIncrement); in Run()
93 StatsCounter decrement_counter(kCounterDecrement); in Run()
95 StatsCounter mixed_counter(kCounterMixed); // create this one in the loop in Run()
138 StatsCounter zero_counter(kCounterZero); in TEST_F()
139 StatsCounter lucky13_counter(kCounter1313); in TEST_F()
140 StatsCounter increment_counter(kCounterIncrement); in TEST_F()
141 StatsCounter decrement_counter(kCounterDecrement); in TEST_F()
142 StatsCounter mixed_counter(kCounterMixed); in TEST_F()
[all …]
Dstats_counters.h50 base::StatsCounter counter(name); \
78 class BASE_API StatsCounter {
81 explicit StatsCounter(const std::string& name);
82 virtual ~StatsCounter();
116 StatsCounter();
132 class BASE_API StatsCounterTimer : protected StatsCounter {
170 StatsCounter counter_;
171 StatsCounter largest_add_;
/external/chromium_org/base/metrics/
Dstats_counters.cc9 StatsCounter::StatsCounter(const std::string& name) in StatsCounter() function in base::StatsCounter
20 StatsCounter::~StatsCounter() { in ~StatsCounter()
23 void StatsCounter::Set(int value) { in Set()
29 void StatsCounter::Add(int value) { in Add()
35 StatsCounter::StatsCounter() in StatsCounter() function in base::StatsCounter
39 int* StatsCounter::GetPtr() { in GetPtr()
Dstats_table_unittest.cc93 StatsCounter zero_counter(kCounterZero); in Run()
94 StatsCounter lucky13_counter(kCounter1313); in Run()
95 StatsCounter increment_counter(kCounterIncrement); in Run()
96 StatsCounter decrement_counter(kCounterDecrement); in Run()
98 StatsCounter mixed_counter(kCounterMixed); // create this one in the loop in Run()
146 StatsCounter zero_counter(kCounterZero); in TEST_F()
147 StatsCounter lucky13_counter(kCounter1313); in TEST_F()
148 StatsCounter increment_counter(kCounterIncrement); in TEST_F()
149 StatsCounter decrement_counter(kCounterDecrement); in TEST_F()
150 StatsCounter mixed_counter(kCounterMixed); in TEST_F()
[all …]
Dstats_counters.h50 base::StatsCounter counter(name); \
78 class BASE_EXPORT StatsCounter {
81 explicit StatsCounter(const std::string& name);
82 virtual ~StatsCounter();
116 StatsCounter();
132 class BASE_EXPORT StatsCounterTimer : protected StatsCounter {
170 StatsCounter counter_;
171 StatsCounter largest_add_;
/external/chromium_org/v8/src/
Dv8-counters.cc52 name##_ = StatsCounter(isolate, "c:" #caption); in Counters()
59 count_of_##name##_ = StatsCounter(isolate, "c:" "V8.CountOf_" #name); \ in Counters()
60 size_of_##name##_ = StatsCounter(isolate, "c:" "V8.SizeOf_" #name); in Counters()
66 StatsCounter(isolate, "c:" "V8.CountOf_CODE_TYPE-" #name); \ in Counters()
68 StatsCounter(isolate, "c:" "V8.SizeOf_CODE_TYPE-" #name); in Counters()
74 StatsCounter(isolate, "c:" "V8.CountOf_FIXED_ARRAY-" #name); \ in Counters()
76 StatsCounter(isolate, "c:" "V8.SizeOf_FIXED_ARRAY-" #name); in Counters()
82 StatsCounter(isolate, "c:" "V8.CountOf_CODE_AGE-" #name); \ in Counters()
84 StatsCounter(isolate, "c:" "V8.SizeOf_CODE_AGE-" #name); in Counters()
Dv8-counters.h316 StatsCounter* name() { return &name##_; }
322 StatsCounter* count_of_##name() { return &count_of_##name##_; } \
323 StatsCounter* size_of_##name() { return &size_of_##name##_; }
328 StatsCounter* count_of_CODE_TYPE_##name() \
330 StatsCounter* size_of_CODE_TYPE_##name() \
336 StatsCounter* count_of_FIXED_ARRAY_##name() \
338 StatsCounter* size_of_FIXED_ARRAY_##name() \
344 StatsCounter* count_of_CODE_AGE_##name() \
346 StatsCounter* size_of_CODE_AGE_##name() \
402 StatsCounter name##_;
[all …]
Dcounters.h116 class StatsCounter {
118 StatsCounter() { } in StatsCounter() function
119 explicit StatsCounter(Isolate* isolate, const char* name) in StatsCounter() function
Dcounters.cc43 int* StatsCounter::FindLocationInStatsTable() const { in FindLocationInStatsTable()
/external/chromium_org/tools/stats_viewer/
Dstats_table.cs65 class StatsCounter : IStatsCounter { class
66 public StatsCounter(StatsTableEntry entry) { in StatsCounter() method in StatsViewer.StatsCounter
106 public StatsCounterRate(StatsCounter counter, StatsTimer timer) { in StatsCounterRate()
121 private StatsCounter counter_;
385 rv = new StatsCounter(entry); in NameToCounter()
392 rv = new StatsCounter(entry); in NameToCounter()
403 if (old_counter is StatsCounter && counter is StatsTimer) in UpgradeCounter()
405 StatsCounterRate rate = new StatsCounterRate(old_counter as StatsCounter, in UpgradeCounter()
410 else if (old_counter is StatsTimer && counter is StatsCounter) in UpgradeCounter()
412 StatsCounterRate rate = new StatsCounterRate(counter as StatsCounter, in UpgradeCounter()
Dstats_viewer.cs93 else if (counter is StatsCounter || counter is StatsTimer) in UpdateCounter()
113 else if (counter is StatsCounter || counter is StatsTimer) in UpdateCounter()
491 Debug.Assert(counter is StatsCounter || counter is StatsTimer); in Update()
494 if (counter is StatsCounter) in Update()
495 new_value = ((StatsCounter)counter).GetValue(filter_pid); in Update()
/external/v8/src/
Dv8-counters.cc43 StatsCounter name = { "c:" #caption, NULL, false };\ in Counters()
50 StatsCounter state_counters[] = { in Counters()
Dcounters.h120 struct StatsCounter { struct
185 StatsCounter counter_; argument
Dv8-counters.h262 StatsCounter* name() { return &name##_; }
281 StatsCounter* state_counters(StateTag state) { in state_counters()
292 StatsCounter name##_;
305 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
Dcounters.cc43 int* StatsCounter::FindLocationInStatsTable() const { in FindLocationInStatsTable()
/external/chromium_org/tools/memory_watcher/
Dmemory_watcher.cc20 static base::StatsCounter mem_in_use("MemoryInUse.Bytes");
21 static base::StatsCounter mem_in_use_blocks("MemoryInUse.Blocks");
22 static base::StatsCounter mem_in_use_allocs("MemoryInUse.Allocs");
23 static base::StatsCounter mem_in_use_frees("MemoryInUse.Frees");
/external/guava/guava/src/com/google/common/cache/
DAbstractCache.java142 public interface StatsCounter { interface in AbstractCache
204 public static class SimpleStatsCounter implements StatsCounter {
259 public void incrementBy(StatsCounter other) { in incrementBy()
DCacheBuilder.java35 import com.google.common.cache.AbstractCache.StatsCounter;
142 static final Supplier<? extends StatsCounter> NULL_STATS_COUNTER = Suppliers.ofInstance(
143 new StatsCounter() {
222 Supplier<? extends StatsCounter> statsCounterSupplier = CACHE_STATS_COUNTER;
720 Supplier<? extends StatsCounter> getStatsCounterSupplier() { in getStatsCounterSupplier()
/external/chromium_org/content/child/npapi/
Dplugin_lib.cc74 base::StatsCounter(kPluginLibrariesLoadedCounter).Increment(); in PluginLib()
82 base::StatsCounter(kPluginLibrariesLoadedCounter).Decrement(); in ~PluginLib()
154 base::StatsCounter(kPluginInstancesActiveCounter).Increment(); in CreateInstance()
160 base::StatsCounter(kPluginInstancesActiveCounter).Decrement(); in CloseInstance()
/external/guava/guava-tests/test/com/google/common/cache/
DAbstractCacheTest.java20 import com.google.common.cache.AbstractCache.StatsCounter;
84 StatsCounter counter = new SimpleStatsCounter(); in testEmptySimpleStats()
100 StatsCounter counter = new SimpleStatsCounter(); in testSingleSimpleStats()
/external/chromium/net/socket/
Dtcp_client_socket_win.cc263 base::StatsCounter connects("tcp.connect"); in Connect()
544 base::StatsCounter read_bytes("tcp.read_bytes"); in Read()
574 base::StatsCounter writes("tcp.writes"); in Write()
596 base::StatsCounter write_bytes("tcp.write_bytes"); in Write()
798 base::StatsCounter read_bytes("tcp.read_bytes"); in DidCompleteRead()
829 base::StatsCounter write_bytes("tcp.write_bytes"); in DidCompleteWrite()
Dtcp_client_socket_libevent.cc172 base::StatsCounter connects("tcp.connect"); in Connect()
393 base::StatsCounter read_bytes("tcp.read_bytes"); in Read()
432 base::StatsCounter write_bytes("tcp.write_bytes"); in Write()
627 base::StatsCounter read_bytes("tcp.read_bytes"); in DidCompleteRead()
654 base::StatsCounter write_bytes("tcp.write_bytes"); in DidCompleteWrite()
/external/chromium/net/udp/
Dudp_socket_libevent.cc185 base::StatsCounter write_bytes("udp.write_bytes"); in SendToOrWrite()
299 base::StatsCounter write_bytes("udp.write_bytes"); in DidCompleteWrite()
333 base::StatsCounter read_bytes("udp.read_bytes"); in InternalRecvFrom()
/external/chromium/net/tools/fetch/
Dfetch_client.cc92 base::StatsCounter bytes_read("FetchClient.bytes_read"); in OnReadComplete()
105 base::StatsCounter requests("FetchClient.requests"); in OnRequestComplete()

123