/linux/arch/riscv/include/asm/ |
A D | timex.h | 18 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 D | rbtree_test.c | 257 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 D | interval_tree_test.c | 84 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 D | timex.h | 16 #define get_cycles get_cycles macro 22 static inline cycles_t get_cycles(void) in get_cycles() function
|
/linux/arch/openrisc/lib/ |
A D | delay.c | 25 *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 D | delay.c | 28 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 D | gruhandles.c | 68 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 D | timex.h | 9 #ifndef get_cycles 10 static inline cycles_t get_cycles(void) in get_cycles() function
|
/linux/arch/nios2/lib/ |
A D | delay.c | 13 cycles_t start = get_cycles(); in __delay() 15 while ((get_cycles() - start) < cycles) in __delay()
|
/linux/tools/perf/bench/ |
A D | mem-functions.c | 83 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 D | delay.c | 78 u64 t0 = get_cycles(); in __delay() 80 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
|
/linux/arch/arm/lib/ |
A D | delay.c | 47 cycles_t start = get_cycles(); in __timer_delay() 49 while ((get_cycles() - start) < cycles) in __timer_delay()
|
/linux/arch/parisc/kernel/ |
A D | time.c | 142 return get_cycles(); in read_cr16() 228 return get_cycles(); in read_cr16_sched_clock()
|
/linux/arch/x86/kernel/ |
A D | tsc.c | 324 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 D | timex.h | 14 #define get_cycles() arch_timer_read_counter() macro
|
/linux/arch/sparc/include/asm/ |
A D | timex_32.h | 14 #define get_cycles() (0) macro
|
A D | timex_64.h | 16 #define get_cycles() tick_ops->get_tick() macro
|
/linux/arch/nios2/include/asm/ |
A D | timex.h | 10 extern cycles_t get_cycles(void);
|
/linux/arch/um/include/asm/ |
A D | timex.h | 7 static inline cycles_t get_cycles (void) in get_cycles() function
|
/linux/arch/parisc/include/asm/ |
A D | timex.h | 16 static inline cycles_t get_cycles (void) in get_cycles() function
|
/linux/arch/powerpc/include/asm/ |
A D | timex.h | 18 static inline cycles_t get_cycles(void) in get_cycles() function
|
/linux/arch/arm/include/asm/ |
A D | timex.h | 13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
|
/linux/arch/alpha/include/asm/ |
A D | timex.h | 25 static inline cycles_t get_cycles (void) in get_cycles() function
|
/linux/arch/m68k/include/asm/ |
A D | timex.h | 27 static inline cycles_t get_cycles(void) in get_cycles() function
|
/linux/arch/ia64/include/asm/ |
A D | timex.h | 35 get_cycles (void) in get_cycles() function
|