/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | lost_exception_test.c | 49 orig_period = max_period = sample_period = 400; in test_body() 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 66 if (sample_period >= (orig_period + 200)) in test_body() 67 sample_period = orig_period; in test_body() 69 sample_period++; in test_body() 71 if (sample_period > max_period) in test_body() 72 max_period = sample_period; in test_body()
|
D | multi_counter_test.c | 58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter() 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter() 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter() 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter() 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter() 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
D | ebb.c | 31 u64 sample_period = 0x40000000ull; variable 71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) in ebb_check_count() argument 77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count() 85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count() 119 found += count_pmc(i, sample_period); in standard_ebb_callee() 252 int count_pmc(int pmc, uint32_t sample_period) in count_pmc() argument 258 start_value = pmc_sample_period(sample_period); in count_pmc() 381 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in ebb_child()
|
D | ebb.h | 46 bool ebb_check_count(int pmc, u64 sample_period, int fudge); 58 int count_pmc(int pmc, uint32_t sample_period); 69 extern u64 sample_period;
|
D | back_to_back_ebbs_test.c | 41 count_pmc(1, sample_period); in ebb_callee() 81 sample_period = 5; in back_to_back_ebbs() 84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in back_to_back_ebbs()
|
D | instruction_count_test.c | 43 count_pmc(4, sample_period); in do_count_loop() 101 count_pmc(4, sample_period); in pmc4_ebb_callee() 125 sample_period = COUNTER_OVERFLOW; in instruction_count()
|
D | no_handler_test.c | 38 sample_period = 1000; in no_handler_test() 39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
|
D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles() 50 FAIL_IF(!ebb_check_count(1, sample_period, 100)); in cycles()
|
D | pmae_handling_test.c | 42 count_pmc(1, sample_period); in syscall_ebb_callee() 77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
|
D | pmc56_overflow_test.c | 30 count_pmc(2, sample_period); in ebb_callee() 69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
|
D | cycles_with_freeze_test.c | 48 count_pmc(1, sample_period); in ebb_callee() 74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
|
D | regs_access_pmccext_test.c | 36 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in regs_access_pmccext()
|
D | close_clears_pmcc_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
|
D | fork_cleanup_test.c | 60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
|
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/ |
D | perf_event_sample_period.c | 7 offsetof(struct bpf_perf_event_data, sample_period)), 10 offsetof(struct bpf_perf_event_data, sample_period) + 7), 23 offsetof(struct bpf_perf_event_data, sample_period)), 26 offsetof(struct bpf_perf_event_data, sample_period) + 6), 39 offsetof(struct bpf_perf_event_data, sample_period)), 42 offsetof(struct bpf_perf_event_data, sample_period) + 4), 54 offsetof(struct bpf_perf_event_data, sample_period)),
|
/external/bcc/libbpf-tools/ |
D | llcstat.bpf.c | 18 int trace_event(__u64 sample_period, bool miss) in trace_event() argument 31 infop->miss += sample_period; in trace_event() 33 infop->ref += sample_period; in trace_event() 42 return trace_event(ctx->sample_period, true); in on_cache_miss() 48 return trace_event(ctx->sample_period, false); in on_cache_ref()
|
D | llcstat.c | 20 int sample_period; member 24 .sample_period = 100, 59 env.sample_period = strtol(arg, NULL, 10); in parse_arg() 93 .sample_period = period, in open_and_attach_perf_event() 208 env.sample_period, in main() 212 env.sample_period, in main()
|
/external/bcc/tools/ |
D | llcstat.py | 84 fn_name="on_cache_miss", sample_period=args.sample_period) 87 fn_name="on_cache_ref", sample_period=args.sample_period)
|
D | profile.py | 248 sample_period = 0 variable 252 sample_period = args.count variable 257 else ("every ", sample_period, "events")) 279 sample_period=sample_period, sample_freq=sample_freq, cpu=args.cpu)
|
/external/perfetto/test/ |
D | client_api_example.cc | 46 int sample_period = 0; in OnSetup() local 48 sample_period = static_cast<int>(config.counter_period_ns()); in OnSetup() 62 args.config->name().c_str(), int(sample_period / 1000000), in OnSetup()
|
/external/bcc/tests/python/ |
D | test_attach_perf_event.py | 56 event_attr.sample_period = 1000000 101 event_attr.sample_period = 1000000 147 event_attr.sample_period = 100
|
/external/cronet/testing/flake_suppressor_common/ |
D | queries.py | 58 def __init__(self, sample_period: int, billing_project: str, 68 self._sample_period = sample_period
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 152 .sample_period = 1, in test_send_signal_perf() 163 .sample_period = 1, in test_send_signal_nmi()
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf_perf_event.h | 15 __u64 sample_period; member
|
/external/bcc/src/python/bcc/ |
D | perf.py | 186 attr.sample_period = freq 188 attr.sample_period = 1
|