Searched refs:get_cycles (Results 1 - 25 of 49) sorted by relevance

12

/linux-master/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-master/include/asm-generic/
H A Dtimex.h9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void) function
/linux-master/arch/openrisc/include/asm/
H A Dtimex.h16 #define get_cycles get_cycles macro
22 static inline cycles_t get_cycles(void) function
26 #define get_cycles get_cycles macro
/linux-master/arch/parisc/include/asm/
H A Dtimex.h16 static inline cycles_t get_cycles(void) function
20 #define get_cycles get_cycles macro
/linux-master/arch/alpha/include/asm/
H A Dtimex.h25 static inline cycles_t get_cycles (void) function
31 #define get_cycles get_cycles macro
/linux-master/arch/powerpc/include/asm/
H A Dtimex.h18 static inline cycles_t get_cycles(void) function
22 #define get_cycles get_cycles macro
/linux-master/arch/loongarch/include/asm/
H A Dtimex.h17 #define get_cycles get_cycles macro
19 static inline cycles_t get_cycles(void) function
/linux-master/arch/arm/include/asm/
H A 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-master/arch/riscv/include/asm/
H A Dtimex.h18 static inline cycles_t get_cycles(void) function
23 static inline u32 get_cycles(void) function
27 #define get_cycles get_cycles macro
45 return get_cycles();
51 static inline cycles_t get_cycles(void) function
55 #define get_cycles get_cycles macro
68 return get_cycles();
77 lo = get_cycles();
[all...]
/linux-master/arch/sparc/include/asm/
H A Dtimex_64.h16 #define get_cycles() tick_ops->get_tick() macro
/linux-master/arch/arm64/include/asm/
H A Dtimex.h14 #define get_cycles() arch_timer_read_counter() macro
/linux-master/arch/m68k/include/asm/
H A Dtimex.h27 static inline cycles_t get_cycles(void) function
/linux-master/arch/openrisc/lib/
H A Ddelay.c26 *timer_value = get_cycles();
32 cycles_t start = get_cycles();
34 while ((get_cycles() - start) < cycles)
/linux-master/arch/mips/include/asm/
H A Dtimex.h72 static inline cycles_t get_cycles(void) function
79 #define get_cycles get_cycles macro
82 * Like get_cycles - but where c0_count is not available we desperately
/linux-master/arch/x86/include/asm/
H A Dtsc.h22 static inline cycles_t get_cycles(void) function
29 #define get_cycles get_cycles macro
/linux-master/arch/nios2/lib/
H A Ddelay.c13 cycles_t start = get_cycles();
15 while ((get_cycles() - start) < cycles)
/linux-master/arch/loongarch/lib/
H A Ddelay.c14 u64 t0 = get_cycles();
16 while ((unsigned long)(get_cycles() - t0) < cycles)
/linux-master/arch/arm64/lib/
H A Ddelay.c28 cycles_t start = get_cycles();
38 while ((get_cycles() - start) < cycles)
44 while ((get_cycles() - start + timer_evt_period) < cycles)
48 while ((get_cycles() - start) < cycles)
/linux-master/arch/riscv/lib/
H A Ddelay.c78 u64 t0 = get_cycles();
80 while ((unsigned long)(get_cycles() - t0) < cycles)
/linux-master/include/linux/
H A Dtimex.h77 * By default we use get_cycles() for this purpose, but individual
79 * If a given arch does not have get_cycles(), then we fallback to
82 #ifdef get_cycles
83 #define random_get_entropy() ((unsigned long)get_cycles())
/linux-master/lib/
H A Drbtree_test.c257 time1 = get_cycles();
266 time2 = get_cycles();
273 time1 = get_cycles();
282 time2 = get_cycles();
292 time1 = get_cycles();
299 time2 = get_cycles();
306 time1 = get_cycles();
311 time2 = get_cycles();
318 time1 = get_cycles();
323 time2 = get_cycles();
[all...]
H A Dinterval_tree_test.c84 time1 = get_cycles();
93 time2 = get_cycles();
104 time1 = get_cycles();
115 time2 = get_cycles();
/linux-master/arch/s390/include/asm/
H A Dtimex.h196 static inline cycles_t get_cycles(void) function
200 #define get_cycles get_cycles macro
/linux-master/drivers/misc/sgi-gru/
H A Dgruhandles.c62 unsigned long start_time = get_cycles();
69 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) {
71 start_time = get_cycles();
75 update_mcs_stats(opc, get_cycles() - start_time);
/linux-master/arch/arm/lib/
H A Ddelay.c47 cycles_t start = get_cycles();
49 while ((get_cycles() - start) < cycles)

Completed in 220 milliseconds

12