Home
last modified time | relevance | path

Searched refs:cyc (Results 1 – 7 of 7) sorted by relevance

/tools/perf/tests/shell/
A Dstat+shadow_stat.sh28 cyc=$num
33 if [ -z "$cyc" ]; then
38 res=`echo $num $cyc | awk '{printf "%.2f", $1 / $2}'`
45 echo "IPC is different: $res != $ipc ($num / $cyc)"
71 cyc=${results##* $cpu:}
72 cyc=${cyc%% *}
75 if [ -z "$cyc" ]; then
80 res=`echo $num $cyc | awk '{printf "%.2f", $1 / $2}'`
87 echo "IPC is different: $res != $ipc ($num / $cyc)"
A Dtest_intel_pt.sh482 cyc=$(cat /sys/bus/event_source/devices/intel_pt/caps/psb_cyc)
483 if [ "${cyc}" != "1" ] ; then
488 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/cyc/u uname
/tools/perf/util/
A Dtsc.c29 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
34 cyc = tc->time_cycles + in tsc_to_perf_time()
35 ((cyc - tc->time_cycles) & tc->time_mask); in tsc_to_perf_time()
37 quot = cyc >> tc->time_shift; in tsc_to_perf_time()
38 rem = cyc & (((u64)1 << tc->time_shift) - 1); in tsc_to_perf_time()
A Dtsc.h26 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc);
/tools/perf/scripts/python/
A Dstat-cpi.py56 cyc = get(time, "cycles", cpu, thread)
61 cpi = cyc/float(ins)
63 …15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, cyc, ins))
/tools/lib/perf/
A Dmmap.c484 u64 cnt, cyc = 0, time_offset = 0, time_cycles = 0, time_mask = ~0ULL; in perf_mmap__read_self() local
497 cyc = read_timestamp(); in perf_mmap__read_self()
527 cyc = time_cycles + ((cyc - time_cycles) & time_mask); in perf_mmap__read_self()
529 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
/tools/perf/Documentation/
A Dperf-intel-pt.txt154 If the 'cyc' config term (see <<_config_terms,config terms>> section below) was used, then IPC
166 Even with the 'cyc' config term, it is possible to produce IPC information for
250 /sys/bus/event_source/devices/intel_pt/format/cyc:config:1
317 -e intel_pt/cyc/
322 -e intel_pt/cyc=1/
331 -e intel_pt/cyc,mtc_period=9/
442 *cyc*::
461 Specifies how frequently CYC packets are produced - see cyc
484 $ perf record -e intel_pt/cyc,cyc_thresh=15/u uname
1355 However, IPC can still be determined, hence cyc=1 can be added.
[all …]

Completed in 17 milliseconds