Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/riscv/include/asm/
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()
/kernel/linux/linux-5.10/lib/
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 …]
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()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dtimex.h16 #define get_cycles get_cycles macro
22 static inline cycles_t get_cycles(void) in get_cycles() function
/kernel/linux/linux-5.10/arch/openrisc/lib/
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()
/kernel/linux/linux-5.10/arch/arm64/lib/
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()
/kernel/linux/linux-5.10/include/asm-generic/
Dtimex.h9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void) in get_cycles() function
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
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()
/kernel/linux/linux-5.10/arch/nios2/lib/
Ddelay.c13 cycles_t start = get_cycles(); in __delay()
15 while ((get_cycles() - start) < cycles) in __delay()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dtime.c28 return get_cycles(); in tsc_read()
44 u64 tsc = get_cycles(); in sched_clock()
/kernel/linux/linux-5.10/arch/riscv/lib/
Ddelay.c74 u64 t0 = get_cycles(); in __delay()
76 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/kernel/linux/linux-5.10/tools/perf/bench/
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()
/kernel/linux/linux-5.10/arch/arm/lib/
Ddelay.c47 cycles_t start = get_cycles(); in __timer_delay()
49 while ((get_cycles() - start) < cycles) in __timer_delay()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dtime.c145 return get_cycles(); in read_cr16()
231 return get_cycles(); in read_cr16_sched_clock()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dtimex.h14 #define get_cycles() arch_timer_read_counter() macro
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dtimex.h10 extern cycles_t get_cycles(void);
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dtimex_32.h14 #define get_cycles() (0) macro
Dtimex_64.h16 #define get_cycles() tick_ops->get_tick() macro
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dtimex.h16 static inline cycles_t get_cycles (void) in get_cycles() function
/kernel/linux/linux-5.10/arch/um/include/asm/
Dtimex.h7 static inline cycles_t get_cycles (void) in get_cycles() function
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dtimex.h13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dtimex.h25 static inline cycles_t get_cycles (void) in get_cycles() function
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dtimex.h27 static inline cycles_t get_cycles(void) in get_cycles() function

123