Searched refs:new_raw_count (Results 1 – 13 of 13) sorted by relevance
/arch/sh/kernel/ |
D | perf_event.c | 182 u64 prev_raw_count, new_raw_count; in sh_perf_event_update() local 200 new_raw_count = sh_pmu->read(idx); in sh_perf_event_update() 203 new_raw_count) != prev_raw_count) in sh_perf_event_update() 214 delta = (new_raw_count << shift) - (prev_raw_count << shift); in sh_perf_event_update()
|
/arch/blackfin/kernel/ |
D | perf_event.c | 263 u64 prev_raw_count, new_raw_count; in bfin_perf_event_update() local 281 new_raw_count = bfin_pfmon_read(idx); in bfin_perf_event_update() 284 new_raw_count) != prev_raw_count) in bfin_perf_event_update() 295 delta = (new_raw_count << shift) - (prev_raw_count << shift); in bfin_perf_event_update()
|
/arch/xtensa/kernel/ |
D | perf_event.c | 142 uint64_t prev_raw_count, new_raw_count; in xtensa_perf_event_update() local 147 new_raw_count = xtensa_pmu_read_counter(event->hw.idx); in xtensa_perf_event_update() 149 new_raw_count) != prev_raw_count); in xtensa_perf_event_update() 151 delta = (new_raw_count - prev_raw_count) & XTENSA_PMU_COUNTER_MASK; in xtensa_perf_event_update()
|
/arch/alpha/kernel/ |
D | perf_event.c | 309 long prev_raw_count, new_raw_count; in alpha_perf_event_update() local 314 new_raw_count = alpha_read_pmc(idx); in alpha_perf_event_update() 317 new_raw_count) != prev_raw_count) in alpha_perf_event_update() 320 delta = (new_raw_count - (prev_raw_count & alpha_pmu->pmc_count_mask[idx])) + ovf; in alpha_perf_event_update() 332 return new_raw_count; in alpha_perf_event_update()
|
/arch/x86/events/intel/ |
D | cstate.c | 332 u64 prev_raw_count, new_raw_count; in cstate_pmu_event_update() local 336 new_raw_count = cstate_pmu_read_counter(event); in cstate_pmu_event_update() 339 new_raw_count) != prev_raw_count) in cstate_pmu_event_update() 342 local64_add(new_raw_count - prev_raw_count, &event->count); in cstate_pmu_event_update()
|
D | rapl.c | 198 u64 prev_raw_count, new_raw_count; in rapl_event_update() local 204 rdmsrl(event->hw.event_base, new_raw_count); in rapl_event_update() 207 new_raw_count) != prev_raw_count) { in rapl_event_update() 220 delta = (new_raw_count << shift) - (prev_raw_count << shift); in rapl_event_update() 227 return new_raw_count; in rapl_event_update()
|
/arch/tile/kernel/ |
D | perf_event.c | 506 u64 prev_raw_count, new_raw_count; in tile_perf_event_update() local 520 new_raw_count = read_counter(idx); in tile_perf_event_update() 523 new_raw_count); in tile_perf_event_update() 535 delta = (new_raw_count << shift) - (prev_raw_count << shift); in tile_perf_event_update() 541 return new_raw_count; in tile_perf_event_update()
|
/arch/metag/kernel/perf/ |
D | perf_event.c | 192 u64 prev_raw_count, new_raw_count; in metag_pmu_event_update() local 206 new_raw_count = metag_pmu->read(idx); in metag_pmu_event_update() 209 new_raw_count) != prev_raw_count) in metag_pmu_event_update() 215 delta = (new_raw_count - prev_raw_count) & MAX_PERIOD; in metag_pmu_event_update()
|
/arch/arc/kernel/ |
D | perf_event.c | 107 uint64_t new_raw_count = arc_pmu_read_counter(idx); in arc_perf_event_update() local 108 int64_t delta = new_raw_count - prev_raw_count; in arc_perf_event_update() 114 local64_set(&hwc->prev_count, new_raw_count); in arc_perf_event_update()
|
/arch/x86/events/amd/ |
D | ibs.c | 153 perf_event_try_update(struct perf_event *event, u64 new_raw_count, int width) in perf_event_try_update() argument 169 new_raw_count) != prev_raw_count) in perf_event_try_update() 180 delta = (new_raw_count << shift) - (prev_raw_count << shift); in perf_event_try_update()
|
/arch/sparc/kernel/ |
D | perf_event.c | 865 u64 prev_raw_count, new_raw_count; in sparc_perf_event_update() local 870 new_raw_count = sparc_pmu->read_pmc(idx); in sparc_perf_event_update() 873 new_raw_count) != prev_raw_count) in sparc_perf_event_update() 876 delta = (new_raw_count << shift) - (prev_raw_count << shift); in sparc_perf_event_update() 882 return new_raw_count; in sparc_perf_event_update()
|
/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 413 u64 prev_raw_count, new_raw_count; in mipspmu_event_update() local 418 new_raw_count = mipspmu.read_counter(idx); in mipspmu_event_update() 421 new_raw_count) != prev_raw_count) in mipspmu_event_update() 424 delta = new_raw_count - prev_raw_count; in mipspmu_event_update()
|
/arch/x86/events/ |
D | core.c | 70 u64 prev_raw_count, new_raw_count; in x86_perf_event_update() local 86 rdpmcl(hwc->event_base_rdpmc, new_raw_count); in x86_perf_event_update() 89 new_raw_count) != prev_raw_count) in x86_perf_event_update() 100 delta = (new_raw_count << shift) - (prev_raw_count << shift); in x86_perf_event_update() 106 return new_raw_count; in x86_perf_event_update()
|