Home
last modified time | relevance | path

Searched refs:get_cycles (Results 1 – 21 of 21) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
23 static inline u32 get_cycles(void) in get_cycles() function
27 #define get_cycles get_cycles macro
45 return get_cycles(); in random_get_entropy()
51 static inline cycles_t get_cycles(void) in get_cycles() function
55 #define get_cycles get_cycles macro
68 return get_cycles(); in get_cycles64()
77 lo = get_cycles(); in get_cycles64()
/linux/arch/nios2/include/asm/
H A Dtimex.h10 extern cycles_t get_cycles(void);
11 #define get_cycles get_cycles macro
13 #define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())
/linux/lib/
H A Drbtree_test.c253 time1 = get_cycles(); in basic_check()
262 time2 = get_cycles(); in basic_check()
269 time1 = get_cycles(); in basic_check()
278 time2 = get_cycles(); in basic_check()
288 time1 = get_cycles(); in basic_check()
295 time2 = get_cycles(); in basic_check()
302 time1 = get_cycles(); in basic_check()
307 time2 = get_cycles(); in basic_check()
314 time1 = get_cycles(); in basic_check()
319 time2 = get_cycles(); in basic_check()
[all …]
/linux/arch/loongarch/include/asm/
H A Dtimex.h17 #define get_cycles get_cycles macro
19 static inline cycles_t get_cycles(void) in get_cycles() function
/linux/arch/loongarch/lib/
H A Ddelay.c14 u64 t0 = get_cycles(); in __delay()
16 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/linux/arch/nios2/lib/
H A Ddelay.c13 cycles_t start = get_cycles(); in __delay()
15 while ((get_cycles() - start) < cycles) in __delay()
/linux/arch/arm64/include/asm/
H A Dtimex.h14 #define get_cycles() arch_timer_read_counter() macro
/linux/kernel/kcsan/
H A Ddebugfs.c73 cycles = get_cycles(); in microbenchmark()
80 cycles = get_cycles() - cycles; in microbenchmark()
H A Dcore.c809 per_cpu(kcsan_rand_state, cpu) = (u32)get_cycles(); in kcsan_init()
/linux/arch/openrisc/kernel/
H A Dsync-timer.c63 initcount = get_cycles(); in synchronise_count_master()
/linux/arch/nios2/kernel/
H A Dtime.c108 cycles_t get_cycles(void) in get_cycles() function
115 EXPORT_SYMBOL(get_cycles);
/linux/mm/kasan/
H A Dsw_tags.c44 per_cpu(prng_state, cpu) = (u32)get_cycles(); in kasan_init_sw_tags()
/linux/tools/perf/bench/
H A Dmem-functions.c141 static u64 get_cycles(void) in get_cycles()
155 t->cycles = get_cycles(); in clock_diff()
136 static u64 get_cycles(void) get_cycles() function
/linux/drivers/ptp/
H A Dptp_vmclock.c148 cycle = get_cycles(); in vmclock_get_crosststamp()
152 cycle = get_cycles(); in vmclock_get_crosststamp()
/linux/arch/parisc/kernel/
H A Dprocessor.c236 cr16_seed = get_cycles(); in collect_boot_cpu_data()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c1979 txdata->idle += get_cycles() - txdata->last_idle; in __wil_tx_vring_tso()
2132 txdata->idle += get_cycles() - txdata->last_idle; in __wil_tx_ring()
2534 txdata->last_idle = get_cycles(); in wil_tx_complete()
H A Dtxrx_edma.c1289 txdata->last_idle = get_cycles(); in wil_tx_sring_handler()
1502 txdata->idle += get_cycles() - txdata->last_idle; in __wil_tx_ring_tso_edma()
H A Ddebugfs.c154 cycles_t now = get_cycles(); in ring_show()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dswitch.c282 csa->suspend_time = get_cycles(); in save_timebase()
1264 cycles_t resume_time = get_cycles(); in setup_decr()
/linux/fs/ext4/
H A Dmballoc.c1292 unsigned long long period = get_cycles(); in ext4_mb_generate_buddy()
1331 period = get_cycles() - period; in ext4_mb_generate_buddy()
/linux/mm/
H A Dslub.c3980 get_cycles() % 1024 > s->remote_node_defrag_ratio) in get_from_any_partial()
7343 get_cycles() % 1024 > s->remote_node_defrag_ratio) in __refill_objects_any()