Searched refs:counters (Results 1 - 17 of 17) sorted by relevance
/fuchsia/zircon/system/utest/cobalt-client/ |
H A D | collector_test.cpp | 80 TestLogger(FakeStorage<BaseHistogram>* histograms, FakeStorage<BaseCounter>* counters) argument 81 : histograms_(histograms), counters_(counters), fail_(false) {} 131 FakeStorage<BaseHistogram>* histograms, FakeStorage<BaseCounter>* counters, 133 fbl::unique_ptr<TestLogger> logger = fbl::make_unique<TestLogger>(histograms, counters); 156 FakeStorage<BaseCounter> counters; local 158 MakeCollector(/*max_histograms=*/0, /*max_counters=*/1, &histograms, &counters); 165 // Sanity check that different counters do not interfere with each other. 169 FakeStorage<BaseCounter> counters; local 171 MakeCollector(/*max_histograms=*/0, /*max_counters=*/3, &histograms, &counters); 187 FakeStorage<BaseCounter> counters; local 130 MakeCollector(size_t max_histograms, size_t max_counters, FakeStorage<BaseHistogram>* histograms, FakeStorage<BaseCounter>* counters, TestLogger** test_logger = nullptr) argument 200 FakeStorage<BaseCounter> counters; local 222 FakeStorage<BaseCounter> counters; local 264 FakeStorage<BaseCounter> counters; local 315 fbl::Vector<Counter> counters; member in struct:cobalt_client::internal::__anon1300::ObserveFnArgs 378 FakeStorage<BaseCounter> counters; local [all...] |
/fuchsia/zircon/kernel/include/lib/ |
H A D | counters.h | 17 // Kernel counters are a facility designed to help field diagnostics and 23 // Currently the only query interface to the counters is the console 24 // k counters command. Issue 'k counters help' to learn what it can do. 26 // Kernel counters public API: 30 // 2- counters start at zero, increment the counter: 34 // Naming the counters 40 // Reading the counters in code 41 // Don't. The counters are mantained in a per-cpu arena and 50 sizeof(((struct percpu){}).counters[ [all...] |
/fuchsia/zircon/kernel/lib/counters/ |
H A D | rules.mk | 12 $(LOCAL_DIR)/counters.cpp
|
H A D | counters.cpp | 7 #include <lib/counters.h> 74 // Wire the memory defined in the .bss section to the counters. 76 percpu[ix].counters = &kcounters_arena[ix * get_num_counters()]; 88 values[ix] = percpu[ix].counters[counter_index]; 106 printf("%zu counters available:\n", get_num_counters()); 149 printf("%d counters found\n", num_results); 154 "counters view <counter-name>\n" 155 "counters view <counter-prefix>\n" 156 "counters view --all\n" 173 // The thread exits itself it there are no counters [all...] |
/fuchsia/zircon/kernel/include/kernel/ |
H A D | percpu.h | 45 // kernel counters arena 46 int64_t* counters; member in struct:percpu
|
/fuchsia/zircon/kernel/kernel/ |
H A D | rules.mk | 13 kernel/lib/counters \
|
H A D | thread.cpp | 36 #include <lib/counters.h> 56 // kernel counters. TODO(cpu): remove LK-era counters 57 // The counters below never decrease.
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | profile.cpp | 10 #include <lib/counters.h>
|
H A D | channel.cpp | 11 #include <lib/counters.h>
|
/fuchsia/zircon/kernel/object/ |
H A D | dispatcher.cpp | 13 #include <lib/counters.h> 20 // kernel counters. The following counters never decrease.
|
H A D | handle.cpp | 12 #include <lib/counters.h>
|
H A D | channel_dispatcher.cpp | 15 #include <lib/counters.h>
|
H A D | resource_dispatcher.cpp | 13 #include <lib/counters.h>
|
H A D | port_dispatcher.cpp | 17 #include <lib/counters.h>
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | exceptions_c.cpp | 27 #include <lib/counters.h>
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | faults.cpp | 33 #include <lib/counters.h>
|
/fuchsia/zircon/make/ |
H A D | engine.mk | 156 # kernel/include/lib/counters.h and kernel.ld depend on -fdata-sections.
|
Completed in 55 milliseconds