Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/dlfilters/
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()
Ddlfilter-test-api-v0.c52 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
/linux-6.1.9/tools/perf/tests/shell/
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
/linux-6.1.9/tools/perf/scripts/python/
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)
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 …]
Dintel-pt-events.py234 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/
Dperf_dlfilter.h53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
/linux-6.1.9/tools/perf/util/
Devent.h161 u64 cyc_cnt; member
Ddlfilter.c486 ASSIGN(cyc_cnt); in dlfilter__do_filter_event()
Dintel-pt.c1769 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()
Dthread-stack.c1146 ts->cyc_count += sample->cyc_cnt; in thread_stack__process()
/linux-6.1.9/tools/perf/Documentation/
Dperf-dlfilter.txt92 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */
Dperf-script-python.txt655 cyc_cnt - cycle count for determining IPC
/linux-6.1.9/tools/perf/util/scripting-engines/
Dtrace-event-python.c895 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/
Dbuiltin-script.c1507 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()