Home
last modified time | relevance | path

Searched refs:cyc_cnt (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dpower8-pmu.c43 int cyc_cnt = 0; in pmu_update_summaries() local
60 cyc_cnt |= 1 << 1; in pmu_update_summaries()
66 cyc_cnt |= (sel == 0x1e) << 2; in pmu_update_summaries()
70 cyc_cnt |= (sel == 0x1e) << 3; in pmu_update_summaries()
74 cyc_cnt |= (sel == 0x1e) << 4; in pmu_update_summaries()
78 cyc_cnt |= !(mmcr0 & MMCR0_FC56) << 6; in pmu_update_summaries()
82 env->pmc_cyc_cnt = cyc_cnt; in pmu_update_summaries()
205 int sprn, cyc_cnt = env->pmc_cyc_cnt; in pmu_update_cycles() local
208 if (cyc_cnt & (1 << (sprn - SPR_POWER_PMC1 + 1))) { in pmu_update_cycles()
/openbmc/linux/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c86 if (!sample->cyc_cnt) in filter_event_early()
92 cycles[cpu][pos] += sample->cyc_cnt; in filter_event_early()
94 add_entry(tid, pos, sample->cyc_cnt); in filter_event_early()
H A Ddlfilter-test-api-v0.c52 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
H A Ddlfilter-test-api-v2.c58 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
/openbmc/linux/tools/perf/scripts/python/
H A Dexport-to-postgresql.py1031 …od, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, flags, *x): argument
1033 …sym_offset, 8, to_ip, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags)
1035 …saction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags)
1043 …e, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_cnt, *x): argument
1045 … 8, call_id, 8, return_id, 8, parent_call_path_id, 4, flags, 8, parent_id, 8, insn_cnt, 8, cyc_cnt)
H A Dexported-sql-viewer.py528 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, br… argument
534 self.cyc_cnt = cyc_cnt
558 cyc_cnt = int(query.value(6))
562 cyc_cnt = 0
564 …value(1), query.value(2), query.value(3), int(query.value(4)), insn_cnt, cyc_cnt, branch_count, se…
572 …row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_count, pa… argument
573 …it__(glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, branch_count, pa…
577 cyc_pcnt = PercentToOneDP(cyc_cnt, parent_item.cyc_cnt)
579 ipc = CalcIPC(cyc_cnt, insn_cnt)
580 …), PercentToOneDP(time, parent_item.time), str(insn_cnt), insn_pcnt, str(cyc_cnt), cyc_pcnt, ipc, …
[all …]
H A Dintel-pt-events.py270 cyc_cnt = sample["cyc_cnt"]
272 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh484 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
485 if [ "${cyc_cnt}" = "0" ] ; then
492 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
493 if [ "${cyc_cnt}" -gt 0 ] ; then
/openbmc/linux/tools/perf/util/
H A Dsample.h92 u64 cyc_cnt; member
H A Ddlfilter.c529 ASSIGN(cyc_cnt); in dlfilter__do_filter_event()
H A Dintel-pt.c1802 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_br_cyc_cnt; in intel_pt_synth_branch_sample()
1803 if (sample.cyc_cnt) { in intel_pt_synth_branch_sample()
1853 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_in_cyc_cnt; in intel_pt_synth_instruction_sample()
1854 if (sample.cyc_cnt) { in intel_pt_synth_instruction_sample()
1885 sample.cyc_cnt = period; in intel_pt_synth_cycle_sample()
H A Dthread-stack.c1145 ts->cyc_count += sample->cyc_cnt; in thread_stack__process()
/openbmc/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c916 if (sample->insn_cnt && sample->cyc_cnt) { in get_perf_sample_dict()
920 PyLong_FromUnsignedLongLong(sample->cyc_cnt)); in get_perf_sample_dict()
1327 tuple_set_d64(t, 23, es->sample->cyc_cnt); in python_export_sample_table()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-dlfilter.txt98 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */
H A Dperf-script-python.txt655 cyc_cnt - cycle count for determining IPC
/openbmc/linux/tools/perf/
H A Dbuiltin-script.c1531 if (!PRINT_FIELD(IPC) || !sample->cyc_cnt || !sample->insn_cnt) in perf_sample__fprintf_ipc()
1534 ipc = (sample->insn_cnt * 100) / sample->cyc_cnt; in perf_sample__fprintf_ipc()
1537 ipc / 100, ipc % 100, sample->insn_cnt, sample->cyc_cnt); in perf_sample__fprintf_ipc()