Home
last modified time | relevance | path

Searched refs:sample_period (Results 1 – 25 of 77) sorted by relevance

1234

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dlost_exception_test.c49 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()
Dmulti_counter_test.c58 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()
Debb.c31 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()
Debb.h46 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;
Dback_to_back_ebbs_test.c41 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()
Dinstruction_count_test.c43 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()
Dno_handler_test.c38 sample_period = 1000; in no_handler_test()
39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
Dcycles_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles()
50 FAIL_IF(!ebb_check_count(1, sample_period, 100)); in cycles()
Dpmae_handling_test.c42 count_pmc(1, sample_period); in syscall_ebb_callee()
77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
Dpmc56_overflow_test.c30 count_pmc(2, sample_period); in ebb_callee()
69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
Dcycles_with_freeze_test.c48 count_pmc(1, sample_period); in ebb_callee()
74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
Dregs_access_pmccext_test.c36 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in regs_access_pmccext()
Dclose_clears_pmcc_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
Dfork_cleanup_test.c60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Dperf_event_sample_period.c7 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/
Dllcstat.bpf.c18 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()
Dllcstat.c20 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/
Dllcstat.py84 fn_name="on_cache_miss", sample_period=args.sample_period)
87 fn_name="on_cache_ref", sample_period=args.sample_period)
Dprofile.py248 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/
Dclient_api_example.cc46 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/
Dtest_attach_perf_event.py56 event_attr.sample_period = 1000000
101 event_attr.sample_period = 1000000
147 event_attr.sample_period = 100
/external/cronet/testing/flake_suppressor_common/
Dqueries.py58 def __init__(self, sample_period: int, billing_project: str,
68 self._sample_period = sample_period
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c152 .sample_period = 1, in test_send_signal_perf()
163 .sample_period = 1, in test_send_signal_nmi()
/external/kernel-headers/original/uapi/linux/
Dbpf_perf_event.h15 __u64 sample_period; member
/external/bcc/src/python/bcc/
Dperf.py186 attr.sample_period = freq
188 attr.sample_period = 1

1234