Home
last modified time | relevance | path

Searched refs:RuntimeCallCounter (Results 1 – 25 of 28) sorted by relevance

12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/bindings/
H A Druntime_call_stats_test.cc47 RuntimeCallCounter counter("counter"); in TEST_F()
59 RuntimeCallCounter* method_counter = in TEST_F()
66 RuntimeCallCounter* getter_counter = in TEST_F()
75 RuntimeCallCounter* getter_counter = stats.GetCounter( in TEST_F()
77 RuntimeCallCounter* setter_counter = stats.GetCounter( in TEST_F()
88 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
99 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
109 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
163 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
184 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
[all …]
H A Druntime_call_stats.cc28 void RuntimeCallCounter::Dump(TracedValue& value) const { in Dump()
35 void RuntimeCallTimer::Start(RuntimeCallCounter* counter, in Start()
81 counters_[i] = RuntimeCallCounter(names[i]); in RuntimeCallStats()
129 const RuntimeCallCounter* counter = &counters_[i]; in ToString()
155 RuntimeCallCounter* RuntimeCallStats::GetCounter(const char* name) { in GetCounter()
159 return counter_map_.insert(name, std::make_unique<RuntimeCallCounter>(name)) in GetCounter()
163 Vector<RuntimeCallCounter*> RuntimeCallStats::CounterMapToSortedArray() const { in CounterMapToSortedArray()
164 Vector<RuntimeCallCounter*> counters; in CounterMapToSortedArray()
168 auto comparator = [](RuntimeCallCounter* a, RuntimeCallCounter* b) { in CounterMapToSortedArray()
181 for (RuntimeCallCounter* counter : CounterMapToSortedArray()) { in AddCounterMapStatsToBuilder()
H A Druntime_call_stats.h40 class PLATFORM_EXPORT RuntimeCallCounter {
41 USING_FAST_MALLOC(RuntimeCallCounter);
44 explicit RuntimeCallCounter(const char* name) : count_(0), name_(name) {} in RuntimeCallCounter() function
63 RuntimeCallCounter() = default;
83 void Start(RuntimeCallCounter*, RuntimeCallTimer* parent);
110 RuntimeCallCounter* counter_;
318 RuntimeCallCounter* GetCounter(CounterId id) { in GetCounter()
330 RuntimeCallCounter* GetCounter(const char* name);
338 RuntimeCallCounter counters_[static_cast<int>(CounterId::kNumberOfCounters)];
344 typedef HashMap<const char*, std::unique_ptr<RuntimeCallCounter>> CounterMap;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/bindings/
H A Druntime_call_stats_test.cc47 RuntimeCallCounter counter("counter"); in TEST_F()
59 RuntimeCallCounter* method_counter = in TEST_F()
66 RuntimeCallCounter* getter_counter = in TEST_F()
75 RuntimeCallCounter* getter_counter = stats.GetCounter( in TEST_F()
77 RuntimeCallCounter* setter_counter = stats.GetCounter( in TEST_F()
88 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
99 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
109 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
163 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
184 RuntimeCallCounter* counter = stats.GetCounter(test_counter_1_id); in TEST_F()
[all …]
H A Druntime_call_stats.cc28 void RuntimeCallCounter::Dump(TracedValue& value) const { in Dump()
35 void RuntimeCallTimer::Start(RuntimeCallCounter* counter, in Start()
81 counters_[i] = RuntimeCallCounter(names[i]); in RuntimeCallStats()
129 const RuntimeCallCounter* counter = &counters_[i]; in ToString()
155 RuntimeCallCounter* RuntimeCallStats::GetCounter(const char* name) { in GetCounter()
159 return counter_map_.insert(name, std::make_unique<RuntimeCallCounter>(name)) in GetCounter()
163 Vector<RuntimeCallCounter*> RuntimeCallStats::CounterMapToSortedArray() const { in CounterMapToSortedArray()
164 Vector<RuntimeCallCounter*> counters; in CounterMapToSortedArray()
168 auto comparator = [](RuntimeCallCounter* a, RuntimeCallCounter* b) { in CounterMapToSortedArray()
181 for (RuntimeCallCounter* counter : CounterMapToSortedArray()) { in AddCounterMapStatsToBuilder()
H A Druntime_call_stats.h40 class PLATFORM_EXPORT RuntimeCallCounter {
41 USING_FAST_MALLOC(RuntimeCallCounter);
44 explicit RuntimeCallCounter(const char* name) : count_(0), name_(name) {} in RuntimeCallCounter() function
63 RuntimeCallCounter() = default;
83 void Start(RuntimeCallCounter*, RuntimeCallTimer* parent);
110 RuntimeCallCounter* counter_;
319 RuntimeCallCounter* GetCounter(CounterId id) { in GetCounter()
331 RuntimeCallCounter* GetCounter(const char* name);
339 RuntimeCallCounter counters_[static_cast<int>(CounterId::kNumberOfCounters)];
345 typedef HashMap<const char*, std::unique_ptr<RuntimeCallCounter>> CounterMap;
[all …]
/dports/lang/v8/v8-9.6.180.12/src/logging/
H A Druntime-call-stats.cc44 V8_NOINLINE void Add(RuntimeCallCounter* counter) { in Add()
102 void RuntimeCallCounter::Reset() { in Reset()
107 void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { in Dump()
114 void RuntimeCallCounter::Add(RuntimeCallCounter* other) { in Add()
158 this->counters_[i] = RuntimeCallCounter(kNames[i]); in RuntimeCallStats()
202 RuntimeCallCounter* counter = GetCounter(counter_id); in Enter()
236 RuntimeCallCounter* counter = GetCounter(counter_id); in CorrectCurrentCounterId()
H A Druntime-call-stats.h30 class RuntimeCallCounter final {
32 RuntimeCallCounter() : RuntimeCallCounter(nullptr) {} in RuntimeCallCounter() function
33 explicit RuntimeCallCounter(const char* name) in RuntimeCallCounter() function
37 void Add(RuntimeCallCounter* other);
60 RuntimeCallCounter* counter() { return counter_; } in counter()
61 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; } in set_counter()
121 RuntimeCallCounter* counter_ = nullptr;
633 RuntimeCallCounter* GetCounter(RuntimeCallCounterId counter_id) { in GetCounter()
636 RuntimeCallCounter* GetCounter(int counter_id) { in GetCounter()
644 base::AtomicValue<RuntimeCallCounter*> current_counter_;
[all …]
/dports/www/node10/node-v10.24.1/deps/v8/src/
H A Dcounters.cc352 V8_NOINLINE void Add(RuntimeCallCounter* counter) { in Add()
410 void RuntimeCallCounter::Reset() { in Reset()
415 void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { in Dump()
422 void RuntimeCallCounter::Add(RuntimeCallCounter* other) { in Add()
462 this->counters_[i] = RuntimeCallCounter(kNames[i]); in RuntimeCallStats()
469 RuntimeCallCounter* counter = GetCounter(counter_id); in Enter()
498 RuntimeCallCounter* counter = GetCounter(counter_id); in CorrectCurrentCounterId()
H A Dcounters.h629 class RuntimeCallCounter final {
631 RuntimeCallCounter() : RuntimeCallCounter(nullptr) {} in RuntimeCallCounter() function
632 explicit RuntimeCallCounter(const char* name) in RuntimeCallCounter() function
636 void Add(RuntimeCallCounter* other);
659 RuntimeCallCounter* counter() { return counter_; } in counter()
660 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; } in set_counter()
679 RuntimeCallCounter* counter_ = nullptr;
1043 RuntimeCallCounter* GetCounter(RuntimeCallCounterId counter_id) { in GetCounter()
1046 RuntimeCallCounter* GetCounter(int counter_id) { in GetCounter()
1054 base::AtomicValue<RuntimeCallCounter*> current_counter_;
[all …]
H A Dcounters-inl.h13 void RuntimeCallTimer::Start(RuntimeCallCounter* counter, in Start()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/logging/
H A Dcounters.cc349 V8_NOINLINE void Add(RuntimeCallCounter* counter) { in Add()
407 void RuntimeCallCounter::Reset() { in Reset()
412 void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { in Dump()
419 void RuntimeCallCounter::Add(RuntimeCallCounter* other) { in Add()
463 this->counters_[i] = RuntimeCallCounter(kNames[i]); in RuntimeCallStats()
507 RuntimeCallCounter* counter = GetCounter(counter_id); in Enter()
541 RuntimeCallCounter* counter = GetCounter(counter_id); in CorrectCurrentCounterId()
574 RuntimeCallCounter* counter = GetCounter(i); in EnumerateCounters()
H A Dcounters.h650 class RuntimeCallCounter final {
652 RuntimeCallCounter() : RuntimeCallCounter(nullptr) {} in RuntimeCallCounter() function
653 explicit RuntimeCallCounter(const char* name) in RuntimeCallCounter() function
657 void Add(RuntimeCallCounter* other);
680 RuntimeCallCounter* counter() { return counter_; } in counter()
681 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; } in set_counter()
703 RuntimeCallCounter* counter_ = nullptr;
1189 RuntimeCallCounter* GetCounter(RuntimeCallCounterId counter_id) { in GetCounter()
1192 RuntimeCallCounter* GetCounter(int counter_id) { in GetCounter()
1200 base::AtomicValue<RuntimeCallCounter*> current_counter_;
[all …]
H A Dcounters-inl.h14 void RuntimeCallTimer::Start(RuntimeCallCounter* counter, in Start()
/dports/lang/v8/v8-9.6.180.12/test/unittests/logging/
H A Druntime-call-stats-unittest.cc78 RuntimeCallCounter* js_counter() { in js_counter()
81 RuntimeCallCounter* counter() { return stats()->GetCounter(counter_id()); } in counter()
82 RuntimeCallCounter* counter2() { return stats()->GetCounter(counter_id2()); } in counter2()
83 RuntimeCallCounter* counter3() { return stats()->GetCounter(counter_id3()); } in counter3()
387 RuntimeCallCounter* counter = in TEST_F()
409 RuntimeCallCounter* getter_counter = in TEST_F()
463 RuntimeCallCounter* callback_counter = in TEST_F()
542 RuntimeCallCounter* callback_counter = in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/logging/
H A Dcounters.cc346 V8_NOINLINE void Add(RuntimeCallCounter* counter) { in Add()
404 void RuntimeCallCounter::Reset() { in Reset()
409 void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { in Dump()
416 void RuntimeCallCounter::Add(RuntimeCallCounter* other) { in Add()
460 this->counters_[i] = RuntimeCallCounter(kNames[i]); in RuntimeCallStats()
504 RuntimeCallCounter* counter = GetCounter(counter_id); in Enter()
538 RuntimeCallCounter* counter = GetCounter(counter_id); in CorrectCurrentCounterId()
H A Dcounters.h672 class RuntimeCallCounter final {
674 RuntimeCallCounter() : RuntimeCallCounter(nullptr) {} in RuntimeCallCounter() function
675 explicit RuntimeCallCounter(const char* name) in RuntimeCallCounter() function
679 void Add(RuntimeCallCounter* other);
702 RuntimeCallCounter* counter() { return counter_; } in counter()
703 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; } in set_counter()
725 RuntimeCallCounter* counter_ = nullptr;
1202 RuntimeCallCounter* GetCounter(RuntimeCallCounterId counter_id) { in GetCounter()
1205 RuntimeCallCounter* GetCounter(int counter_id) { in GetCounter()
1213 base::AtomicValue<RuntimeCallCounter*> current_counter_;
[all …]
H A Dcounters-inl.h13 void RuntimeCallTimer::Start(RuntimeCallCounter* counter, in Start()
H A Dlog.cc1610 RuntimeCallCounter* counter = stats->current_counter(); in RuntimeCallTimerEvent()
/dports/www/node10/node-v10.24.1/deps/v8/src/heap/
H A Dgc-tracer.h124 RuntimeCallCounter counter_;
320 RuntimeCallCounter* runtime_call_counter);
340 RuntimeCallCounter runtime_call_counter;
H A Dgc-tracer.cc169 background_counter_[i].runtime_call_counter = RuntimeCallCounter(nullptr); in GCTracer()
1094 RuntimeCallCounter* runtime_call_counter) { in AddBackgroundScopeSample()
/dports/www/node10/node-v10.24.1/deps/v8/src/profiler/
H A Dcpu-profiler.cc329 RuntimeCallCounter* counter = rcs->GetCounter(i); in CreateEntriesForRuntimeCallStats()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/profiler/
H A Dcpu-profiler.cc336 RuntimeCallCounter* counter = rcs->GetCounter(i); in CreateEntriesForRuntimeCallStats()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/profiler/
H A Dcpu-profiler.cc360 RuntimeCallCounter* counter = rcs->GetCounter(i); in CreateEntriesForRuntimeCallStats()
/dports/lang/v8/v8-9.6.180.12/src/profiler/
H A Dcpu-profiler.cc397 RuntimeCallCounter* counter = rcs->GetCounter(i); in CreateEntriesForRuntimeCallStats()

12