Home
last modified time | relevance | path

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

/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
/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.py534 self.cyc_cnt = cyc_cnt
562 cyc_cnt = 0
577 cyc_pcnt = PercentToOneDP(cyc_cnt, parent_item.cyc_cnt)
602 self.cyc_cnt += child_item.cyc_cnt
608 child_item.data[8] = PercentToOneDP(child_item.cyc_cnt, self.cyc_cnt)
816 self.cyc_cnt = cyc_cnt
844 cyc_cnt = 0
859 cyc_pcnt = PercentToOneDP(cyc_cnt, parent_item.cyc_cnt)
884 self.cyc_cnt += child_item.cyc_cnt
890 child_item.data[8] = PercentToOneDP(child_item.cyc_cnt, self.cyc_cnt)
[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)
/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh485 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
486 if [ "${cyc_cnt}" = "0" ] ; then
493 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
494 if [ "${cyc_cnt}" -gt 0 ] ; then
/linux/tools/perf/util/
H A Dsample.h92 u64 cyc_cnt; member
H A Ddlfilter.c531 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()
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c930 if (sample->insn_cnt && sample->cyc_cnt) { in get_perf_sample_dict()
934 PyLong_FromUnsignedLongLong(sample->cyc_cnt)); in get_perf_sample_dict()
1342 tuple_set_d64(t, 23, es->sample->cyc_cnt); in python_export_sample_table()
/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
/linux/tools/perf/
H A Dbuiltin-script.c1637 if (!PRINT_FIELD(IPC) || !sample->cyc_cnt || !sample->insn_cnt) in perf_sample__fprintf_ipc()
1640 ipc = (sample->insn_cnt * 100) / sample->cyc_cnt; in perf_sample__fprintf_ipc()
1643 ipc / 100, ipc % 100, sample->insn_cnt, sample->cyc_cnt); in perf_sample__fprintf_ipc()