Searched refs:counters (Results 1 - 17 of 17) sorted by relevance

/fuchsia/zircon/system/utest/cobalt-client/
H A Dcollector_test.cpp80 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 Dcounters.h17 // 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 Drules.mk12 $(LOCAL_DIR)/counters.cpp
H A Dcounters.cpp7 #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 Dpercpu.h45 // kernel counters arena
46 int64_t* counters; member in struct:percpu
/fuchsia/zircon/kernel/kernel/
H A Drules.mk13 kernel/lib/counters \
H A Dthread.cpp36 #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 Dprofile.cpp10 #include <lib/counters.h>
H A Dchannel.cpp11 #include <lib/counters.h>
/fuchsia/zircon/kernel/object/
H A Ddispatcher.cpp13 #include <lib/counters.h>
20 // kernel counters. The following counters never decrease.
H A Dhandle.cpp12 #include <lib/counters.h>
H A Dchannel_dispatcher.cpp15 #include <lib/counters.h>
H A Dresource_dispatcher.cpp13 #include <lib/counters.h>
H A Dport_dispatcher.cpp17 #include <lib/counters.h>
/fuchsia/zircon/kernel/arch/arm64/
H A Dexceptions_c.cpp27 #include <lib/counters.h>
/fuchsia/zircon/kernel/arch/x86/
H A Dfaults.cpp33 #include <lib/counters.h>
/fuchsia/zircon/make/
H A Dengine.mk156 # kernel/include/lib/counters.h and kernel.ld depend on -fdata-sections.

Completed in 55 milliseconds