Searched refs:cyc (Results 1 - 17 of 17) sorted by relevance

/linux-master/tools/perf/tests/shell/
H 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)"
[all...]
H A Dtest_intel_pt.sh477 cyc=$(cat /sys/bus/event_source/devices/intel_pt/caps/psb_cyc)
478 if [ "${cyc}" != "1" ] ; then
483 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/cyc/u uname
495 echo "Still get CYC packet without cyc"
/linux-master/kernel/time/
H A Dsched_clock.c67 static __always_inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) argument
69 return (cyc * mult) >> shift;
87 u64 cyc, res; local
93 cyc = (rd->read_sched_clock() - rd->epoch_cyc) &
95 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift);
140 u64 cyc; local
146 cyc = cd.actual_read_sched_clock();
147 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift);
150 rd.epoch_cyc = cyc;
166 u64 res, wrap, new_mask, new_epoch, cyc, n local
[all...]
/linux-master/tools/perf/util/
H A Dtsc.h26 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc);
H A Dtsc.c29 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) argument
34 cyc = tc->time_cycles +
35 ((cyc - tc->time_cycles) & tc->time_mask);
37 quot = cyc >> tc->time_shift;
38 rem = cyc & (((u64)1 << tc->time_shift) - 1);
/linux-master/tools/perf/scripts/python/
H A Dstat-cpi.py56 cyc = get(time, "cycles", cpu, thread)
61 cpi = cyc/float(ins)
63 print("%15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, cyc, ins))
73 # cyc = get(time, "cycles", cpu, thread)
77 # cpi = cyc/float(ins)
/linux-master/arch/arm/lib/
H A Ddelay.c40 static inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) argument
42 return (cyc * mult) >> shift;
/linux-master/drivers/pwm/
H A Dpwm-rcar.c110 u32 cyc, ph; local
117 cyc = (tmp << RCAR_PWMCNT_CYC0_SHIFT) & RCAR_PWMCNT_CYC0_MASK;
124 if (cyc == 0 || ph == 0)
127 rcar_pwm_write(rp, cyc | ph, RCAR_PWMCNT);
/linux-master/tools/lib/perf/
H A Dmmap.c484 u64 cnt, cyc = 0, time_offset = 0, time_cycles = 0, time_mask = ~0ULL; local
497 cyc = read_timestamp();
527 cyc = time_cycles + ((cyc - time_cycles) & time_mask);
529 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift);
/linux-master/drivers/i2c/busses/
H A Di2c-uniphier.c295 unsigned int cyc = priv->clk_cycle; local
305 writel((cyc * 5 / 9 << 16) | cyc, priv->membase + UNIPHIER_I2C_CLK);
H A Di2c-uniphier-f.c481 unsigned int cyc = priv->clk_cycle; local
494 writel(cyc, priv->membase + UNIPHIER_FI2C_CYC);
500 writel(cyc * 5 / 9, priv->membase + UNIPHIER_FI2C_LCTL);
505 writel(cyc / 2, priv->membase + UNIPHIER_FI2C_SSUT);
510 writel(cyc / 16, priv->membase + UNIPHIER_FI2C_DSUT);
/linux-master/arch/arc/include/asm/
H A Darcregs.h275 unsigned int pad2:12, cyc:3, pad1:1, sz1:4, sz0:4, ver:8; member in struct:bcr_dccm_arcv2
277 unsigned int ver:8, sz0:4, sz1:4, pad1:1, cyc:3, pad2:12;
/linux-master/drivers/dma/
H A Dpl330.c1096 const struct _xfer_spec *pxs, int cyc)
1103 while (cyc--) {
1108 while (cyc--) {
1187 const struct _xfer_spec *pxs, int cyc,
1198 while (cyc--) {
1210 const struct _xfer_spec *pxs, int cyc)
1221 off += _ldst_peripheral(pl330, dry_run, &buf[off], pxs, cyc,
1226 off += _ldst_memtomem(dry_run, &buf[off], pxs, cyc);
1293 int cyc, cycmax, szlp, szlpend, szbrst, off; local
1304 cyc
1095 _ldst_memtomem(unsigned dry_run, u8 buf[], const struct _xfer_spec *pxs, int cyc) argument
1185 _ldst_peripheral(struct pl330_dmac *pl330, unsigned dry_run, u8 buf[], const struct _xfer_spec *pxs, int cyc, enum pl330_cond cond) argument
1209 _bursts(struct pl330_dmac *pl330, unsigned dry_run, u8 buf[], const struct _xfer_spec *pxs, int cyc) argument
[all...]
/linux-master/arch/x86/kernel/
H A Dtsc.c122 static __always_inline unsigned long long __cycles_2_ns(unsigned long long cyc) argument
130 ns += mul_u64_u32_shr(cyc, data.cyc2ns_mul, data.cyc2ns_shift);
135 static __always_inline unsigned long long cycles_2_ns(unsigned long long cyc) argument
139 ns = __cycles_2_ns(cyc);
/linux-master/drivers/mtd/nand/raw/
H A Drenesas-nand-controller.c896 unsigned int cyc, cle, ale, bef_dly, ca_to_data; local
923 cyc = sdr->tDS_min + sdr->tDH_min;
936 TIM_GEN_SEQ0_D0(TO_CYCLES64(cle - cyc, period_ns)) |
937 TIM_GEN_SEQ0_D1(TO_CYCLES64(cle - cyc, period_ns)) |
948 TIM_GEN_SEQ1_D4(TO_CYCLES64(ale - cyc, period_ns)) |
949 TIM_GEN_SEQ1_D5(TO_CYCLES64(ale - cyc, period_ns)) |
962 TIM_GEN_SEQ2_D10(TO_CYCLES64(cle - cyc, period_ns)) |
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c72 #define ATMEL_HSMC_NFC_CFG_DTO(cyc, mul) (((cyc) << 16) | ((mul) << 20))
/linux-master/arch/x86/events/intel/
H A Dpt.c107 PMU_FORMAT_ATTR(cyc, "config:1" );

Completed in 385 milliseconds