/linux-6.1.9/tools/perf/dlfilters/ |
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()
|
D | dlfilter-test-api-v0.c | 52 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
|
/linux-6.1.9/tools/perf/tests/shell/ |
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
|
/linux-6.1.9/tools/perf/scripts/python/ |
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)
|
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 …]
|
D | intel-pt-events.py | 234 cyc_cnt = sample["cyc_cnt"] 236 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
|
/linux-6.1.9/tools/perf/include/perf/ |
D | perf_dlfilter.h | 53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
|
/linux-6.1.9/tools/perf/util/ |
D | event.h | 161 u64 cyc_cnt; member
|
D | dlfilter.c | 486 ASSIGN(cyc_cnt); in dlfilter__do_filter_event()
|
D | intel-pt.c | 1769 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_br_cyc_cnt; in intel_pt_synth_branch_sample() 1770 if (sample.cyc_cnt) { in intel_pt_synth_branch_sample() 1820 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_in_cyc_cnt; in intel_pt_synth_instruction_sample() 1821 if (sample.cyc_cnt) { in intel_pt_synth_instruction_sample()
|
D | thread-stack.c | 1146 ts->cyc_count += sample->cyc_cnt; in thread_stack__process()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-dlfilter.txt | 92 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */
|
D | perf-script-python.txt | 655 cyc_cnt - cycle count for determining IPC
|
/linux-6.1.9/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 895 if (sample->insn_cnt && sample->cyc_cnt) { in get_perf_sample_dict() 899 PyLong_FromUnsignedLongLong(sample->cyc_cnt)); in get_perf_sample_dict() 1292 tuple_set_d64(t, 23, es->sample->cyc_cnt); in python_export_sample_table()
|
/linux-6.1.9/tools/perf/ |
D | builtin-script.c | 1507 if (!PRINT_FIELD(IPC) || !sample->cyc_cnt || !sample->insn_cnt) in perf_sample__fprintf_ipc() 1510 ipc = (sample->insn_cnt * 100) / sample->cyc_cnt; in perf_sample__fprintf_ipc() 1513 ipc / 100, ipc % 100, sample->insn_cnt, sample->cyc_cnt); in perf_sample__fprintf_ipc()
|