Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/arch/openrisc/include/asm/
Dtimex.h16 #define get_cycles get_cycles macro
22 static inline cycles_t get_cycles(void) in get_cycles() function
26 #define get_cycles get_cycles macro
/linux-6.1.9/arch/nios2/include/asm/
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-6.1.9/arch/arm64/lib/
Ddelay.c28 cycles_t start = get_cycles(); in __delay()
38 while ((get_cycles() - start) < cycles) in __delay()
44 while ((get_cycles() - start + timer_evt_period) < cycles) in __delay()
48 while ((get_cycles() - start) < cycles) in __delay()
/linux-6.1.9/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()
/linux-6.1.9/arch/parisc/include/asm/
Dtimex.h16 static inline cycles_t get_cycles(void) in get_cycles() function
20 #define get_cycles get_cycles macro
/linux-6.1.9/arch/loongarch/include/asm/
Dtimex.h17 #define get_cycles get_cycles macro
19 static inline cycles_t get_cycles(void) in get_cycles() function
/linux-6.1.9/arch/powerpc/include/asm/
Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
22 #define get_cycles get_cycles macro
/linux-6.1.9/arch/alpha/include/asm/
Dtimex.h25 static inline cycles_t get_cycles (void) in get_cycles() function
31 #define get_cycles get_cycles macro
/linux-6.1.9/arch/ia64/include/asm/
Dtimex.h35 get_cycles (void) in get_cycles() function
42 #define get_cycles get_cycles macro
/linux-6.1.9/arch/openrisc/lib/
Ddelay.c26 *timer_value = get_cycles(); in read_current_timer()
32 cycles_t start = get_cycles(); in __delay()
34 while ((get_cycles() - start) < cycles) in __delay()
/linux-6.1.9/arch/mips/include/asm/
Dtimex.h72 static inline cycles_t get_cycles(void) in get_cycles() function
79 #define get_cycles get_cycles macro
/linux-6.1.9/arch/x86/include/asm/
Dtsc.h21 static inline cycles_t get_cycles(void) in get_cycles() function
28 #define get_cycles get_cycles macro
/linux-6.1.9/include/asm-generic/
Dtimex.h9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void) in get_cycles() function
/linux-6.1.9/arch/arm/include/asm/
Dtimex.h13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
14 #define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())
/linux-6.1.9/arch/loongarch/lib/
Ddelay.c14 u64 t0 = get_cycles(); in __delay()
16 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/linux-6.1.9/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()
/linux-6.1.9/arch/nios2/lib/
Ddelay.c13 cycles_t start = get_cycles(); in __delay()
15 while ((get_cycles() - start) < cycles) in __delay()
/linux-6.1.9/arch/s390/include/asm/
Dtimex.h196 static inline cycles_t get_cycles(void) in get_cycles() function
200 #define get_cycles get_cycles macro
/linux-6.1.9/arch/riscv/lib/
Ddelay.c78 u64 t0 = get_cycles(); in __delay()
80 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/linux-6.1.9/include/linux/
Dtimex.h82 #ifdef get_cycles
83 #define random_get_entropy() ((unsigned long)get_cycles())
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/lib/
Ddelay.c47 cycles_t start = get_cycles(); in __timer_delay()
49 while ((get_cycles() - start) < cycles) in __timer_delay()
/linux-6.1.9/arch/parisc/kernel/
Dtime.c144 return get_cycles(); in read_cr16()
230 return get_cycles(); in read_cr16_sched_clock()

12