Searched refs:sample_period (Results 1 - 25 of 40) sorted by relevance

12

/external/kernel-headers/original/uapi/linux/
H A Dbpf_perf_event.h15 __u64 sample_period; member in struct:bpf_perf_event_data
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
H A Dmulti_counter_test.c58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period));
60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period));
61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period));
62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period));
63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period));
73 count_pmc(1, sample_period);
74 count_pmc(2, sample_period);
75 count_pmc(3, sample_period);
76 count_pmc(4, sample_period);
[all...]
H A Dlost_exception_test.c49 orig_period = max_period = sample_period = 400;
51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period));
66 if (sample_period >= (orig_period + 200))
67 sample_period = orig_period;
69 sample_period++;
71 if (sample_period > max_period)
72 max_period = sample_period;
78 count_pmc(4, sample_period);
H A Dcycles_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
45 count_pmc(1, sample_period);
52 FAIL_IF(!ebb_check_count(1, sample_period, 100));
H A Dback_to_back_ebbs_test.c41 count_pmc(1, sample_period);
81 sample_period = 5;
84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
94 count_pmc(1, sample_period);
H A Dno_handler_test.c38 sample_period = 1000;
39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
H A Debb.h46 bool ebb_check_count(int pmc, u64 sample_period, int fudge);
60 int count_pmc(int pmc, uint32_t sample_period);
71 extern u64 sample_period;
H A Dpmae_handling_test.c42 count_pmc(1, sample_period);
77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
85 count_pmc(1, sample_period);
H A Dpmc56_overflow_test.c30 count_pmc(2, sample_period);
69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period));
79 count_pmc(2, sample_period);
H A Dcycles_with_freeze_test.c48 count_pmc(1, sample_period);
74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
102 count_pmc(1, sample_period);
H A Dclose_clears_pmcc_test.c35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
H A Dcycles_with_mmcr2_test.c46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
74 count_pmc(1, sample_period);
H A Dmulti_ebb_procs_test.c54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
64 count_pmc(1, sample_period);
H A Debb.c31 u64 sample_period = 0x40000000ull; variable
71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) argument
77 lower = ebb_state.stats.ebb_count * (sample_period - fudge);
85 upper = ebb_state.stats.ebb_count * (sample_period + fudge);
119 found += count_pmc(i, sample_period);
252 int count_pmc(int pmc, uint32_t sample_period) argument
258 start_value = pmc_sample_period(sample_period);
381 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
399 count_pmc(1, sample_period);
H A Dinstruction_count_test.c43 count_pmc(4, sample_period);
101 count_pmc(4, sample_period);
125 sample_period = COUNTER_OVERFLOW;
H A Dfork_cleanup_test.c61 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
H A Debb_on_willing_child_test.c41 count_pmc(1, sample_period);
H A Devent_attributes_test.c50 event.attr.sample_period = 1;
51 /* Expected to fail, sets sample_period */
/external/strace/
H A Dperf_event_struct.h11 uint64_t sample_period; member in union:perf_event_attr::__anon22002
/external/lisa/tools/scripts/power/
H A Dpower_average.py47 sample_period = 1. / sample_rate_hz
48 df.index = np.linspace(0, sample_period * len(df), num=len(df))
/external/v8/src/arm64/
H A Dinstrument-arm64.h56 uint64_t sample_period = kDefaultInstrumentationSamplingPeriod);
H A Dinstrument-arm64.cc97 Instrument::Instrument(const char* datafile, uint64_t sample_period) argument
98 : output_stream_(stderr), sample_period_(sample_period) {
114 fprintf(output_stream_, "# sample_period=%" PRIu64 "\n", sample_period_);
/external/vixl/src/aarch64/
H A Dinstrument-aarch64.h82 uint64_t sample_period = kDefaultInstrumentationSamplingPeriod);
/external/perf_data_converter/src/quipper/
H A Dtest_perf_data.cc134 // Due to the unnamed union fields (eg, sample_period), this structure can't
140 attr.sample_period = 100001;
169 // Due to the unnamed union fields (eg, sample_period), this structure can't
175 attr.sample_period = MaybeSwap64(1);
206 // Due to the unnamed union fields (eg, sample_period), this structure can't
213 attr.sample_period = 1;
/external/lisa/libs/utils/
H A Denergy.py260 sample_period = 1. / self._instrument.sample_rate_hz
261 df.index = np.linspace(0, sample_period * len(df), num=len(df))

Completed in 3000 milliseconds

12