Home
last modified time | relevance | path

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

123

/Linux-v4.19/lib/
Drbtree_test.c259 time1 = get_cycles(); in rbtree_test_init()
268 time2 = get_cycles(); in rbtree_test_init()
275 time1 = get_cycles(); in rbtree_test_init()
284 time2 = get_cycles(); in rbtree_test_init()
294 time1 = get_cycles(); in rbtree_test_init()
301 time2 = get_cycles(); in rbtree_test_init()
308 time1 = get_cycles(); in rbtree_test_init()
313 time2 = get_cycles(); in rbtree_test_init()
320 time1 = get_cycles(); in rbtree_test_init()
325 time2 = get_cycles(); in rbtree_test_init()
[all …]
Dinterval_tree_test.c83 time1 = get_cycles(); in interval_tree_test_init()
92 time2 = get_cycles(); in interval_tree_test_init()
103 time1 = get_cycles(); in interval_tree_test_init()
114 time2 = get_cycles(); in interval_tree_test_init()
Dfind_bit_benchmark.c113 cycles = get_cycles(); in test_find_next_and_bit()
116 cycles = get_cycles() - cycles; in test_find_next_and_bit()
/Linux-v4.19/arch/openrisc/include/asm/
Dtimex.h20 #define get_cycles get_cycles macro
26 static inline cycles_t get_cycles(void) in get_cycles() function
/Linux-v4.19/arch/riscv/include/asm/
Dtimex.h30 #define get_cycles get_cycles_inline macro
35 return get_cycles(); in get_cycles64()
56 *timer_val = get_cycles(); in read_current_timer()
/Linux-v4.19/arch/openrisc/lib/
Ddelay.c28 *timer_value = get_cycles(); in read_current_timer()
34 cycles_t start = get_cycles(); in __delay()
36 while ((get_cycles() - start) < cycles) in __delay()
/Linux-v4.19/arch/arm64/lib/
Ddelay.c39 cycles_t start = get_cycles(); in __delay()
45 while ((get_cycles() - start + timer_evt_period) < cycles) in __delay()
49 while ((get_cycles() - start) < cycles) in __delay()
/Linux-v4.19/include/asm-generic/
Dtimex.h9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void) in get_cycles() function
/Linux-v4.19/drivers/misc/sgi-gru/
Dgruhandles.c80 unsigned long start_time = get_cycles(); in wait_instruction_complete()
87 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete()
89 start_time = get_cycles(); in wait_instruction_complete()
93 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
/Linux-v4.19/arch/nios2/lib/
Ddelay.c25 cycles_t start = get_cycles(); in __delay()
27 while ((get_cycles() - start) < cycles) in __delay()
/Linux-v4.19/arch/c6x/kernel/
Dtime.c31 return get_cycles(); in tsc_read()
47 u64 tsc = get_cycles(); in sched_clock()
/Linux-v4.19/arch/riscv/lib/
Ddelay.c82 u64 t0 = get_cycles(); in __delay()
84 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/Linux-v4.19/tools/perf/bench/
Dmem-functions.c82 static u64 get_cycles(void) in get_cycles() function
240 cycle_start = get_cycles(); in do_memcpy_cycles()
243 cycle_end = get_cycles(); in do_memcpy_cycles()
314 cycle_start = get_cycles(); in do_memset_cycles()
317 cycle_end = get_cycles(); in do_memset_cycles()
/Linux-v4.19/arch/arm/lib/
Ddelay.c59 cycles_t start = get_cycles(); in __timer_delay()
61 while ((get_cycles() - start) < cycles) in __timer_delay()
/Linux-v4.19/arch/parisc/kernel/
Dtime.c145 return get_cycles(); in read_cr16()
224 return get_cycles(); in read_cr16_sched_clock()
/Linux-v4.19/arch/arm64/include/asm/
Dtimex.h25 #define get_cycles() arch_timer_read_counter() macro
/Linux-v4.19/arch/nios2/include/asm/
Dtimex.h22 extern cycles_t get_cycles(void);
/Linux-v4.19/arch/sparc/include/asm/
Dtimex_32.h14 #define get_cycles() (0) macro
Dtimex_64.h16 #define get_cycles() tick_ops->get_tick() macro
/Linux-v4.19/arch/um/include/asm/
Dtimex.h7 static inline cycles_t get_cycles (void) in get_cycles() function
/Linux-v4.19/arch/parisc/include/asm/
Dtimex.h15 static inline cycles_t get_cycles (void) in get_cycles() function
/Linux-v4.19/arch/arm/include/asm/
Dtimex.h16 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
/Linux-v4.19/arch/alpha/include/asm/
Dtimex.h25 static inline cycles_t get_cycles (void) in get_cycles() function
/Linux-v4.19/arch/c6x/include/asm/
Dtimex.h21 static inline cycles_t get_cycles(void) in get_cycles() function
/Linux-v4.19/arch/m68k/include/asm/
Dtimex.h27 static inline cycles_t get_cycles(void) in get_cycles() function

123