Searched refs:metrics (Results 1 – 6 of 6) sorted by relevance
| /xnu-11417.121.6/doc/observability/ |
| H A D | recount.md | 11 These two metrics are abbreviated to cycles-per-instruction, or CPI, for brevity. 53 Tables also include formulaic columns that can be derived from two metrics, like CPI or power. 79 - `ru_metrics[RCT_LVL_COUNT]`: metrics accumulated in each exception level 82 The metrics are stored in a `recount_metrics` structure with the following fields: 93 During preemption, the context switch handler attributes metrics back to the level stored in each t… 94 …d `recount_leave_secure` update the current thread's level and attribute metrics back to the previ… 105 To ensure the accuracy of formulas involving multiple metrics, like CPI, all metrics must be update… 111 The sequence lock doesn't need to be taken for these metrics since they're never updated simultaneo… 121 Unlike the other metrics, the energy counters are not sampled directly by Recount so the values can…
|
| /xnu-11417.121.6/tools/lldbmacros/ |
| H A D | recount.py | 110 metrics = usage.ru_metrics[level] 111 self._times_mach[level] += unsigned(metrics.rm_time_mach) 112 if hasattr(metrics, "rm_cycles"): 113 self._instructions[level] += unsigned(metrics.rm_instructions) 114 self._cycles[level] += unsigned(metrics.rm_cycles) 115 if unsigned(metrics.rm_cycles) != 0: 280 metrics = usage.ru_metrics[level] 281 time = unsigned(metrics.rm_time_mach) 287 if hasattr(metrics, "rm_cycles"): 288 cycles = unsigned(metrics.rm_cycles) [all …]
|
| /xnu-11417.121.6/tests/recount/ |
| H A D | recount_perf_tests.c | 87 metrics_t metrics = s->us_metrics; in interface_perf_test() local 91 metrics &= ~(METRIC_INSNS | METRIC_CYCLES); in interface_perf_test() 95 for (int metric = next_bit(&metrics); metric >= 0; in interface_perf_test() 96 metric = next_bit(&metrics)) { in interface_perf_test()
|
| /xnu-11417.121.6/osfmk/kern/ |
| H A D | recount.c | 340 struct recount_metrics *metrics = &usage->ru_metrics[level]; in recount_usage_add_snap() local 342 metrics->rm_time_mach += snap->rsn_time_mach; in recount_usage_add_snap() 344 metrics->rm_cycles += snap->rsn_cycles; in recount_usage_add_snap() 345 metrics->rm_instructions += snap->rsn_insns; in recount_usage_add_snap()
|
| /xnu-11417.121.6/bsd/kern/code_signing/ |
| H A D | txm.c | 611 txm_metrics = &txm_rw_data->metrics; in get_code_signing_info() 1858 SYSCTL_NODE(_txm, OID_AUTO, metrics, CTLFLAG_RD, 0, "TXM Metrics");
|
| /xnu-11417.121.6/doc/scheduler/ |
| H A D | sched_clutch_edge.md | 79 The clutch bucket group maintains a few metrics to allow calculation of the interactivity score for… 230 Both metrics are maintained as an exponentially moving weighted average to make sure they capture t…
|