Home
last modified time | relevance | path

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

123

/linux/arch/riscv/include/asm/
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()
87 *timer_val = get_cycles(); in read_current_timer()
/linux/lib/
A Drbtree_test.c257 time1 = get_cycles(); in rbtree_test_init()
266 time2 = get_cycles(); in rbtree_test_init()
273 time1 = get_cycles(); in rbtree_test_init()
282 time2 = get_cycles(); in rbtree_test_init()
292 time1 = get_cycles(); in rbtree_test_init()
299 time2 = get_cycles(); in rbtree_test_init()
306 time1 = get_cycles(); in rbtree_test_init()
311 time2 = get_cycles(); in rbtree_test_init()
318 time1 = get_cycles(); in rbtree_test_init()
323 time2 = get_cycles(); in rbtree_test_init()
[all …]
A Dinterval_tree_test.c84 time1 = get_cycles(); in interval_tree_test_init()
93 time2 = get_cycles(); in interval_tree_test_init()
104 time1 = get_cycles(); in interval_tree_test_init()
115 time2 = get_cycles(); in interval_tree_test_init()
/linux/arch/openrisc/include/asm/
A Dtimex.h16 #define get_cycles get_cycles macro
22 static inline cycles_t get_cycles(void) in get_cycles() function
/linux/arch/openrisc/lib/
A Ddelay.c25 *timer_value = get_cycles(); in read_current_timer()
31 cycles_t start = get_cycles(); in __delay()
33 while ((get_cycles() - start) < cycles) in __delay()
/linux/arch/arm64/lib/
A Ddelay.c28 cycles_t start = get_cycles(); in __delay()
34 while ((get_cycles() - start + timer_evt_period) < cycles) in __delay()
38 while ((get_cycles() - start) < cycles) in __delay()
/linux/drivers/misc/sgi-gru/
A Dgruhandles.c68 unsigned long start_time = get_cycles(); in wait_instruction_complete()
75 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete()
77 start_time = get_cycles(); in wait_instruction_complete()
81 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
/linux/include/asm-generic/
A Dtimex.h9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void) in get_cycles() function
/linux/arch/nios2/lib/
A Ddelay.c13 cycles_t start = get_cycles(); in __delay()
15 while ((get_cycles() - start) < cycles) in __delay()
/linux/tools/perf/bench/
A Dmem-functions.c83 static u64 get_cycles(void) in get_cycles() function
246 cycle_start = get_cycles(); in do_memcpy_cycles()
249 cycle_end = get_cycles(); in do_memcpy_cycles()
316 cycle_start = get_cycles(); in do_memset_cycles()
319 cycle_end = get_cycles(); in do_memset_cycles()
/linux/arch/riscv/lib/
A Ddelay.c78 u64 t0 = get_cycles(); in __delay()
80 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/linux/arch/arm/lib/
A Ddelay.c47 cycles_t start = get_cycles(); in __timer_delay()
49 while ((get_cycles() - start) < cycles) in __timer_delay()
/linux/arch/parisc/kernel/
A Dtime.c142 return get_cycles(); in read_cr16()
228 return get_cycles(); in read_cr16_sched_clock()
/linux/arch/x86/kernel/
A Dtsc.c324 t1 = get_cycles(); in tsc_read_refs()
329 t2 = get_cycles(); in tsc_read_refs()
421 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc()
427 t2 = get_cycles(); in pit_calibrate_tsc()
506 tsc = get_cycles(); in pit_expect_msb()
508 *deltap = get_cycles() - prev_tsc; in pit_expect_msb()
/linux/arch/arm64/include/asm/
A Dtimex.h14 #define get_cycles() arch_timer_read_counter() macro
/linux/arch/sparc/include/asm/
A Dtimex_32.h14 #define get_cycles() (0) macro
A Dtimex_64.h16 #define get_cycles() tick_ops->get_tick() macro
/linux/arch/nios2/include/asm/
A Dtimex.h10 extern cycles_t get_cycles(void);
/linux/arch/um/include/asm/
A Dtimex.h7 static inline cycles_t get_cycles (void) in get_cycles() function
/linux/arch/parisc/include/asm/
A Dtimex.h16 static inline cycles_t get_cycles (void) in get_cycles() function
/linux/arch/powerpc/include/asm/
A Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
/linux/arch/arm/include/asm/
A Dtimex.h13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
/linux/arch/alpha/include/asm/
A Dtimex.h25 static inline cycles_t get_cycles (void) in get_cycles() function
/linux/arch/m68k/include/asm/
A Dtimex.h27 static inline cycles_t get_cycles(void) in get_cycles() function
/linux/arch/ia64/include/asm/
A Dtimex.h35 get_cycles (void) in get_cycles() function

Completed in 39 milliseconds

123