Home
last modified time | relevance | path

Searched refs:_counters (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Runtime.Caching/System/Caching/
H A DPerfCounters.cs28 private PerformanceCounter[] _counters; field in System.Runtime.Caching.PerfCounters
80 _counters = new PerformanceCounter[NUM_COUNTERS]; in InitDisposableMembers()
82_counters[(int)PerfCounterName.Entries] = new PerformanceCounter(PERF_COUNTER_CATEGORY, CACHE_ENTR… in InitDisposableMembers()
83_counters[(int)PerfCounterName.Hits] = new PerformanceCounter(PERF_COUNTER_CATEGORY, CACHE_HITS, i… in InitDisposableMembers()
86_counters[(int)PerfCounterName.Misses] = new PerformanceCounter(PERF_COUNTER_CATEGORY, CACHE_MISSE… in InitDisposableMembers()
87_counters[(int)PerfCounterName.Trims] = new PerformanceCounter(PERF_COUNTER_CATEGORY, CACHE_TRIMS,… in InitDisposableMembers()
114 PerformanceCounter counter = _counters[idx]; in Decrement()
121 PerformanceCounter counter = _counters[idx]; in Increment()
128 PerformanceCounter counter = _counters[idx]; in IncrementBy()
134 PerformanceCounter[] counters = _counters; in Dispose()
[all …]
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/map/
H A DCounterManager.h50 CounterMap _counters; variable
61 _counters[counter] = CounterPtr(new SimpleCounter); in createCounter()
63 _counters[counter]->setCountChangedCallback( in createCounter()
69 for (CounterMap::iterator i = _counters.begin(); i != _counters.end(); ++i) { in ~CounterManager()
76 if (_counters.find(counter) == _counters.end()) { in get()
79 return *_counters[counter]; in get()
84 int brushCount(_counters[counterBrushes]->get()); in updateStatusBar()
85 int entityCount(_counters[counterEntities]->get()); in updateStatusBar()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/solaris/
H A Dos_perf_solaris.cpp266 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
278 _counters.nProcs = 0; in CPUPerformance()
279 _counters.jvmTicks = NULL; in CPUPerformance()
280 _counters.kstat_ctrl = NULL; in CPUPerformance()
288 if (NULL == _counters.kstat_ctrl) { in initialize()
295 _counters.nProcs = 1; in initialize()
299 if (_counters.nProcs == 0) { in initialize()
306 if (NULL == _counters.jvmTicks) { in initialize()
319 if (i == _counters.nProcs) { in initialize()
330 if (_counters.jvmTicks != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/solaris/
H A Dos_perf_solaris.cpp266 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
278 _counters.nProcs = 0; in CPUPerformance()
279 _counters.jvmTicks = NULL; in CPUPerformance()
280 _counters.kstat_ctrl = NULL; in CPUPerformance()
288 if (NULL == _counters.kstat_ctrl) { in initialize()
295 _counters.nProcs = 1; in initialize()
299 if (_counters.nProcs == 0) { in initialize()
306 if (NULL == _counters.jvmTicks) { in initialize()
319 if (i == _counters.nProcs) { in initialize()
330 if (_counters.jvmTicks != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/os/solaris/
H A Dos_perf_solaris.cpp265 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
277 _counters.nProcs = 0; in CPUPerformance()
278 _counters.jvmTicks = NULL; in CPUPerformance()
279 _counters.kstat_ctrl = NULL; in CPUPerformance()
287 if (NULL == _counters.kstat_ctrl) { in initialize()
294 _counters.nProcs = 1; in initialize()
298 if (_counters.nProcs == 0) { in initialize()
305 if (NULL == _counters.jvmTicks) { in initialize()
318 if (i == _counters.nProcs) { in initialize()
329 if (_counters.jvmTicks != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/os/solaris/vm/
H A Dos_perf_solaris.cpp282 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
294 _counters.nProcs = 0; in CPUPerformance()
295 _counters.jvmTicks = NULL; in CPUPerformance()
296 _counters.kstat_ctrl = NULL; in CPUPerformance()
304 if (NULL == _counters.kstat_ctrl) { in initialize()
311 _counters.nProcs = 1; in initialize()
315 if (_counters.nProcs == 0) { in initialize()
322 if (NULL == _counters.jvmTicks) { in initialize()
335 if (i == _counters.nProcs) { in initialize()
346 if (_counters.jvmTicks != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/os/solaris/vm/
H A Dos_perf_solaris.cpp282 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
294 _counters.nProcs = 0; in CPUPerformance()
295 _counters.jvmTicks = NULL; in CPUPerformance()
296 _counters.kstat_ctrl = NULL; in CPUPerformance()
304 if (NULL == _counters.kstat_ctrl) { in initialize()
311 _counters.nProcs = 1; in initialize()
315 if (_counters.nProcs == 0) { in initialize()
322 if (NULL == _counters.jvmTicks) { in initialize()
335 if (i == _counters.nProcs) { in initialize()
346 if (_counters.jvmTicks != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/solaris/
H A Dos_perf_solaris.cpp266 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
278 _counters.nProcs = 0; in CPUPerformance()
279 _counters.jvmTicks = NULL; in CPUPerformance()
280 _counters.kstat_ctrl = NULL; in CPUPerformance()
285 _counters.kstat_ctrl = kstat_open(); in initialize()
288 if (NULL == _counters.kstat_ctrl) { in initialize()
295 _counters.nProcs = 1; in initialize()
299 if (_counters.nProcs == 0) { in initialize()
306 if (NULL == _counters.jvmTicks) { in initialize()
319 if (i == _counters.nProcs) { in initialize()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/os/solaris/
H A Dos_perf_solaris.cpp266 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
278 _counters.nProcs = 0; in CPUPerformance()
279 _counters.jvmTicks = NULL; in CPUPerformance()
280 _counters.kstat_ctrl = NULL; in CPUPerformance()
285 _counters.kstat_ctrl = kstat_open(); in initialize()
288 if (NULL == _counters.kstat_ctrl) { in initialize()
295 _counters.nProcs = 1; in initialize()
299 if (_counters.nProcs == 0) { in initialize()
306 memset(_counters.jvmTicks, 0, array_entry_count * sizeof(*_counters.jvmTicks)); in initialize()
316 if (i == _counters.nProcs) { in initialize()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Configuration/System/Configuration/
H A DClientConfigPerf.cs24 long[] _counters; field in System.Configuration.ClientConfigPerf
40 _counters = new long[SIZE]; in ClientConfigPerf()
55 if (_enabled && _current < _counters.Length) { in Record()
57 Microsoft.Win32.SafeNativeMethods.QueryPerformanceCounter(out _counters[_current]); in Record()
59 _totals[_current] += _counters[_current] - _counters[_current - 1]; in Record()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp428 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
442 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
443 _counters.cpus = NULL; in CPUPerformance()
449 if (NULL == _counters.cpus) { in initialize()
452 memset(_counters.cpus, 0, tick_array_size); in initialize()
455 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
458 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
459 get_total_ticks(i, &_counters.cpus[i]); in initialize()
462 get_jvm_ticks(&_counters.jvmTicks); in initialize()
473 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp428 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
442 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
443 _counters.cpus = NULL; in CPUPerformance()
449 if (NULL == _counters.cpus) { in initialize()
452 memset(_counters.cpus, 0, tick_array_size); in initialize()
455 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
458 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
459 get_total_ticks(i, &_counters.cpus[i]); in initialize()
462 get_jvm_ticks(&_counters.jvmTicks); in initialize()
473 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp428 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
442 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
443 _counters.cpus = NULL; in CPUPerformance()
449 if (NULL == _counters.cpus) { in initialize()
452 memset(_counters.cpus, 0, tick_array_size); in initialize()
455 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
458 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
459 get_total_ticks(i, &_counters.cpus[i]); in initialize()
462 get_jvm_ticks(&_counters.jvmTicks); in initialize()
473 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp443 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
457 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
458 _counters.cpus = NULL; in CPUPerformance()
462 size_t array_entry_count = _counters.nProcs + 1; in initialize()
464 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
467 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
470 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
471 get_total_ticks(i, &_counters.cpus[i]); in initialize()
474 get_jvm_ticks(&_counters.jvmTicks); in initialize()
485 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp443 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
457 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
458 _counters.cpus = NULL; in CPUPerformance()
462 size_t array_entry_count = _counters.nProcs + 1; in initialize()
464 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
467 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
470 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
471 get_total_ticks(i, &_counters.cpus[i]); in initialize()
474 get_jvm_ticks(&_counters.jvmTicks); in initialize()
485 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp443 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
457 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
458 _counters.cpus = NULL; in CPUPerformance()
462 size_t array_entry_count = _counters.nProcs + 1; in initialize()
464 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
467 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
470 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
471 get_total_ticks(i, &_counters.cpus[i]); in initialize()
474 get_jvm_ticks(&_counters.jvmTicks); in initialize()
485 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/os/aix/
H A Dos_perf_aix.cpp428 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
442 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
443 _counters.cpus = NULL; in CPUPerformance()
447 size_t array_entry_count = _counters.nProcs + 1; in initialize()
449 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
452 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
455 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
456 get_total_ticks(i, &_counters.cpus[i]); in initialize()
459 get_jvm_ticks(&_counters.jvmTicks); in initialize()
470 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/misc/usd/USD-21.11/pxr/base/trace/
H A DaggregateTree.cpp47 _counters.clear(); in Clear()
68 if (!TF_VERIFY(_counters.find(key) == _counters.end())) { in AddCounter()
80 _counters[key] = totalValue; in AddCounter()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp488 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
502 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
503 _counters.cpus = NULL; in CPUPerformance()
509 if (NULL == _counters.cpus) { in initialize()
512 memset(_counters.cpus, 0, tick_array_size); in initialize()
515 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
518 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
522 get_jvm_ticks(&_counters.jvmTicks); in initialize()
533 if (_counters.cpus != NULL) { in ~CPUPerformance()
534 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp488 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
502 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
503 _counters.cpus = NULL; in CPUPerformance()
509 if (NULL == _counters.cpus) { in initialize()
512 memset(_counters.cpus, 0, tick_array_size); in initialize()
515 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
518 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
522 get_jvm_ticks(&_counters.jvmTicks); in initialize()
533 if (_counters.cpus != NULL) { in ~CPUPerformance()
534 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp503 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
517 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
518 _counters.cpus = NULL; in CPUPerformance()
522 size_t array_entry_count = _counters.nProcs + 1; in initialize()
524 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
527 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
530 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
534 get_jvm_ticks(&_counters.jvmTicks); in initialize()
545 if (_counters.cpus != NULL) { in ~CPUPerformance()
546 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp503 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
517 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
518 _counters.cpus = NULL; in CPUPerformance()
522 size_t array_entry_count = _counters.nProcs + 1; in initialize()
524 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
527 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
530 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
534 get_jvm_ticks(&_counters.jvmTicks); in initialize()
545 if (_counters.cpus != NULL) { in ~CPUPerformance()
546 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp488 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
502 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
503 _counters.cpus = NULL; in CPUPerformance()
509 if (NULL == _counters.cpus) { in initialize()
512 memset(_counters.cpus, 0, tick_array_size); in initialize()
515 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
518 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
522 get_jvm_ticks(&_counters.jvmTicks); in initialize()
533 if (_counters.cpus != NULL) { in ~CPUPerformance()
534 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/os/aix/
H A Dos_perf_aix.cpp566 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
580 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
581 _counters.cpus = NULL; in CPUPerformance()
587 if (NULL == _counters.cpus) { in initialize()
590 memset(_counters.cpus, 0, tick_array_size); in initialize()
593 get_total_ticks(-1, &_counters.cpus[_counters.nProcs]); in initialize()
596 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
597 get_total_ticks(i, &_counters.cpus[i]); in initialize()
600 get_jvm_ticks(&_counters.jvmTicks); in initialize()
611 if (_counters.cpus != NULL) { in ~CPUPerformance()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/os/linux/
H A Dos_perf_linux.cpp503 CPUPerfCounters _counters; member in CPUPerformanceInterface::CPUPerformance
517 _counters.nProcs = os::active_processor_count(); in CPUPerformance()
518 _counters.cpus = NULL; in CPUPerformance()
522 size_t array_entry_count = _counters.nProcs + 1; in initialize()
524 memset(_counters.cpus, 0, array_entry_count * sizeof(*_counters.cpus)); in initialize()
527 os::Linux::get_tick_information(&_counters.cpus[_counters.nProcs], -1); in initialize()
530 for (int i = 0; i < _counters.nProcs; i++) { in initialize()
534 get_jvm_ticks(&_counters.jvmTicks); in initialize()
545 if (_counters.cpus != NULL) { in ~CPUPerformance()
546 FREE_C_HEAP_ARRAY(char, _counters.cpus); in ~CPUPerformance()
[all …]

12345678910>>...18