/openbmc/qemu/target/ppc/ |
H A D | power8-pmu.c | 43 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 D | dlfilter-show-cycles.c | 86 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 D | dlfilter-test-api-v0.c | 52 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
|
H A D | dlfilter-test-api-v2.c | 58 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 1031 …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 D | exported-sql-viewer.py | 528 …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 D | intel-pt-events.py | 270 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 D | test_intel_pt.sh | 484 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 D | sample.h | 92 u64 cyc_cnt; member
|
H A D | dlfilter.c | 529 ASSIGN(cyc_cnt); in dlfilter__do_filter_event()
|
H A D | intel-pt.c | 1802 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 D | thread-stack.c | 1145 ts->cyc_count += sample->cyc_cnt; in thread_stack__process()
|
/openbmc/linux/tools/perf/include/perf/ |
H A D | perf_dlfilter.h | 53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
|
/openbmc/linux/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 916 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 D | perf-dlfilter.txt | 98 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */
|
H A D | perf-script-python.txt | 655 cyc_cnt - cycle count for determining IPC
|
/openbmc/linux/tools/perf/ |
H A D | builtin-script.c | 1531 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()
|