/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-show-cycles.c | 86 if (!sample->cyc_cnt) 92 cycles[cpu][pos] += sample->cyc_cnt; 94 add_entry(tid, pos, sample->cyc_cnt);
|
H A D | dlfilter-test-api-v0.c | 52 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
H A D | dlfilter-test-api-v2.c | 58 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
/linux-master/tools/perf/include/perf/ |
H A D | perf_dlfilter.h | 53 __u64 cyc_cnt; /* For instructions-per-cycle (IPC) */ member in struct:perf_dlfilter_sample
|
/linux-master/tools/perf/util/ |
H A D | sample.h | 92 u64 cyc_cnt; member in struct:perf_sample
|
H A D | dlfilter.c | 531 ASSIGN(cyc_cnt);
|
H A D | intel-pt.c | 1800 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_br_cyc_cnt; 1801 if (sample.cyc_cnt) { 1851 sample.cyc_cnt = ptq->ipc_cyc_cnt - ptq->last_in_cyc_cnt; 1852 if (sample.cyc_cnt) { 1883 sample.cyc_cnt = period;
|
H A D | thread-stack.c | 1145 ts->cyc_count += sample->cyc_cnt;
|
/linux-master/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 1031 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset, ip, time, cpu, to_dso_id, to_symbol_id, to_sym_offset, to_ip, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, flags, *x): 1033 value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiiiBiqiqiqii", 21, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, dso_id, 8, symbol_id, 8, sym_offset, 8, ip, 8, time, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags) 1035 value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiqiqiqiqiiiBiqiqiqii", 25, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, dso_id, 8, symbol_id, 8, sym_offset, 8, ip, 8, time, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 8, period, 8, weight, 8, transaction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags) 1043 def call_return_table(cr_id, thread_id, comm_id, call_path_id, call_time, return_time, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_cnt, *x): 1045 value = struct.pack(fmt, 14, 8, cr_id, 8, thread_id, 8, comm_id, 8, call_path_id, 8, call_time, 8, return_time, 8, branch_count, 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, branch_count, parent_item): 534 self.cyc_cnt = cyc_cnt 558 cyc_cnt = int(query.value(6)) 562 cyc_cnt = 0 564 child_item = CallGraphLevelThreeItem(self.glb, self.params, self.child_count, self.comm_id, self.thread_id, query.value(0), query.value(1), query.value(2), query.value(3), int(query.value(4)), insn_cnt, cyc_cnt, branch_count, self) 572 def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_count, parent_item): 573 super(CallGraphLevelThreeItem, self).__init__(glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, branch_count, parent_item) 577 cyc_pcnt = PercentToOneDP(cyc_cnt, parent_item.cyc_cnt) [all...] |
H A D | intel-pt-events.py | 269 if "cyc_cnt" in sample: 270 cyc_cnt = sample["cyc_cnt"] 272 ipc_str = " IPC: %#.2f (%u/%u)" % (insn_cnt / cyc_cnt, insn_cnt, cyc_cnt)
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_intel_pt.sh | 485 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-master/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 926 if (sample->insn_cnt && sample->cyc_cnt) { 929 pydict_set_item_string_decref(dict_sample, "cyc_cnt", 930 PyLong_FromUnsignedLongLong(sample->cyc_cnt)); 1338 tuple_set_d64(t, 23, es->sample->cyc_cnt);
|
/linux-master/tools/perf/ |
H A D | builtin-script.c | 1547 if (!PRINT_FIELD(IPC) || !sample->cyc_cnt || !sample->insn_cnt) 1550 ipc = (sample->insn_cnt * 100) / sample->cyc_cnt; 1553 ipc / 100, ipc % 100, sample->insn_cnt, sample->cyc_cnt);
|