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

/linux-4.1.27/arch/um/include/asm/
H A Dtimex.h6 static inline cycles_t get_cycles (void) get_cycles() function
/linux-4.1.27/include/asm-generic/
H A Dtimex.h8 #ifndef get_cycles get_cycles()
9 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/openrisc/include/asm/
H A Dtimex.h20 #define get_cycles get_cycles macro
26 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/sparc/include/asm/
H A Dtimex_32.h13 #define get_cycles() (0) macro
H A Dtimex_64.h15 #define get_cycles() tick_ops->get_tick() macro
/linux-4.1.27/arch/tile/lib/
H A Ddelay.c32 cycles_t target = get_cycles(); __ndelay()
34 while (get_cycles() < target) __ndelay()
41 cycles_t target = get_cycles() + cycles; __delay()
42 while (get_cycles() < target) __delay()
/linux-4.1.27/arch/parisc/include/asm/
H A Dtimex.h14 static inline cycles_t get_cycles (void) get_cycles() function
/linux-4.1.27/arch/frv/include/asm/
H A Dtimex.h11 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/blackfin/include/asm/
H A Dtimex.h16 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/cris/include/asm/
H A Dtimex.h19 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/m32r/include/asm/
H A Dtimex.h21 static __inline__ cycles_t get_cycles (void) get_cycles() function
/linux-4.1.27/arch/arm/include/asm/
H A Dtimex.h16 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
/linux-4.1.27/arch/arc/include/asm/
H A Dtimex.h16 /* XXX: get_cycles() to be implemented with RTSC insn */
/linux-4.1.27/lib/
H A Dinterval_tree_test.c58 time1 = get_cycles(); interval_tree_test_init()
67 time2 = get_cycles(); interval_tree_test_init()
78 time1 = get_cycles(); interval_tree_test_init()
85 time2 = get_cycles(); interval_tree_test_init()
H A Drbtree_test.c185 time1 = get_cycles(); rbtree_test_init()
194 time2 = get_cycles(); rbtree_test_init()
217 time1 = get_cycles(); rbtree_test_init()
226 time2 = get_cycles(); rbtree_test_init()
/linux-4.1.27/arch/openrisc/lib/
H A Ddelay.c33 cycles_t start = get_cycles(); __delay()
35 while ((get_cycles() - start) < cycles) __delay()
/linux-4.1.27/arch/c6x/kernel/
H A Dtime.c31 return get_cycles(); tsc_read()
47 u64 tsc = get_cycles(); sched_clock()
/linux-4.1.27/arch/mn10300/include/asm/
H A Dtimex.h24 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/nios2/include/asm/
H A Dtimex.h22 extern cycles_t get_cycles(void);
/linux-4.1.27/arch/powerpc/include/asm/
H A Dtimex.h17 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/c6x/include/asm/
H A Dtimex.h21 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/m68k/include/asm/
H A Dtimex.h26 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/alpha/include/asm/
H A Dtimex.h24 static inline cycles_t get_cycles (void) get_cycles() function
/linux-4.1.27/arch/tile/include/asm/
H A Dtimex.h31 cycles_t get_cycles(void);
34 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/nios2/lib/
H A Ddelay.c25 cycles_t start = get_cycles(); __delay()
27 while ((get_cycles() - start) < cycles) __delay()
/linux-4.1.27/arch/arm64/lib/
H A Ddelay.c29 cycles_t start = get_cycles(); __delay()
31 while ((get_cycles() - start) < cycles) __delay()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgruhandles.c80 unsigned long start_time = get_cycles(); wait_instruction_complete()
87 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { wait_instruction_complete()
89 start_time = get_cycles(); wait_instruction_complete()
93 update_mcs_stats(opc, get_cycles() - start_time); wait_instruction_complete()
H A Dgrutlbpurge.c43 #define gru_random() get_cycles()
H A Dgrukservices.c1114 memset(buf1, get_cycles() & 255, sizeof(buf1)); quicktest3()
/linux-4.1.27/arch/arm64/include/asm/
H A Dtimex.h25 #define get_cycles() arch_counter_get_cntvct() macro
/linux-4.1.27/arch/avr32/include/asm/
H A Dtimex.h32 static inline cycles_t get_cycles (void) get_cycles() function
/linux-4.1.27/arch/arm/lib/
H A Ddelay.c59 cycles_t start = get_cycles(); __timer_delay()
61 while ((get_cycles() - start) < cycles) __timer_delay()
/linux-4.1.27/arch/mips/include/asm/
H A Dtimex.h72 static inline cycles_t get_cycles(void) get_cycles() function
81 * Like get_cycles - but where c0_count is not available we desperately
/linux-4.1.27/arch/x86/include/asm/
H A Dtsc.h22 static inline cycles_t get_cycles(void) get_cycles() function
H A Dbarrier.h96 * (or get_cycles or vread that possibly accesses the TSC) in a defined
/linux-4.1.27/arch/x86/um/asm/
H A Dbarrier.h49 * (or get_cycles or vread that possibly accesses the TSC) in a defined
/linux-4.1.27/arch/xtensa/include/asm/
H A Dtimex.h38 #define get_cycles() (0) macro
/linux-4.1.27/arch/tile/kernel/
H A Dtime.c48 cycles_t get_cycles(void) get_cycles() function
62 EXPORT_SYMBOL(get_cycles); variable
75 return get_cycles(); clocksource_get_cycles()
219 return clocksource_cyc2ns(get_cycles(), sched_clock()
H A Dstack.c393 raw_smp_processor_id(), get_cycles()); tile_show_stack()
/linux-4.1.27/arch/ia64/include/asm/
H A Dtimex.h34 get_cycles (void) get_cycles() function
/linux-4.1.27/drivers/cpufreq/
H A Dblackfin-cpufreq.c159 cycles = get_cycles(); bfin_target()
161 cycles += 10; /* ~10 cycles we lose after get_cycles() */ bfin_target()
/linux-4.1.27/arch/tile/kernel/vdso/
H A Dvgettimeofday.c36 #define get_cycles get_cycles_inline macro
61 return ((get_cycles() - vdso->cycle_last) & vdso->mask) * vdso->mult; vgetsns()
/linux-4.1.27/crypto/
H A Dtcrypt.c122 start = get_cycles(); test_cipher_cycles()
127 end = get_cycles(); test_cipher_cycles()
191 start = get_cycles(); test_aead_cycles()
196 end = get_cycles(); test_aead_cycles()
592 start = get_cycles(); test_hash_cycles_digest()
598 end = get_cycles(); test_hash_cycles_digest()
646 start = get_cycles(); test_hash_cycles()
660 end = get_cycles(); test_hash_cycles()
848 start = get_cycles(); test_ahash_cycles_digest()
854 end = get_cycles(); test_ahash_cycles_digest()
897 start = get_cycles(); test_ahash_cycles()
911 end = get_cycles(); test_ahash_cycles()
1057 start = get_cycles(); test_acipher_cycles()
1064 end = get_cycles(); test_acipher_cycles()
/linux-4.1.27/drivers/gpu/drm/udl/
H A Dudl_fb.c105 start_cycles = get_cycles(); udlfb_dpy_deferred_io()
137 end_cycles = get_cycles(); udlfb_dpy_deferred_io()
216 start_cycles = get_cycles(); udl_handle_damage()
247 end_cycles = get_cycles(); udl_handle_damage()
/linux-4.1.27/arch/s390/include/asm/
H A Dtimex.h102 static inline cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/mn10300/kernel/
H A Dtime.c53 tsc64.ll = cnt32_to_63(get_cycles()) & 0x7fffffffffffffffULL; sched_clock()
/linux-4.1.27/arch/x86/kernel/
H A Dtsc_sync.c50 start = get_cycles(); check_tsc_warp()
67 now = get_cycles(); check_tsc_warp()
H A Dtsc.c376 t1 = get_cycles(); tsc_read_refs()
381 t2 = get_cycles(); tsc_read_refs()
459 tsc = t1 = t2 = get_cycles(); pit_calibrate_tsc()
465 t2 = get_cycles(); pit_calibrate_tsc()
544 tsc = get_cycles(); pit_expect_msb()
546 *deltap = get_cycles() - prev_tsc; pit_expect_msb()
971 return (cycle_t)get_cycles(); read_tsc()
/linux-4.1.27/include/linux/
H A Dtimex.h75 * By default we use get_cycles() for this purpose, but individual
78 #define random_get_entropy() get_cycles()
H A Dintel-iommu.h230 cycles_t start_time = get_cycles(); \
235 if (DMAR_OPERATION_TIMEOUT < (get_cycles() - start_time))\
H A Darcdevice.h96 _x = get_cycles(); \
98 _y = get_cycles(); \
/linux-4.1.27/arch/blackfin/kernel/
H A Dtime-ts.c32 return __bfin_cycles_off + (get_cycles() << __bfin_cycles_mod); bfin_read_cycles()
34 return get_cycles(); bfin_read_cycles()
/linux-4.1.27/arch/x86/platform/uv/
H A Dtlb_uv.c535 ttm = get_cycles(); uv1_wait_completion()
634 ttm = get_cycles(); uv2_3_wait_completion()
660 ttm = get_cycles(); uv2_3_wait_completion()
765 tm1 = get_cycles(); for_each_present_cpu()
820 if (get_cycles() > bcp->period_end) record_send_stats()
824 bcp->period_end = get_cycles() + bcp->disabled_period; record_send_stats()
896 time1 = get_cycles(); uv_flush_send_and_wait()
923 bcp->send_message = get_cycles(); uv_flush_send_and_wait()
942 time2 = get_cycles(); uv_flush_send_and_wait()
972 if (bcp->baudisabled && (get_cycles() >= bcp->set_bau_on_time)) { check_enable()
1252 time_start = get_cycles(); uv_bau_message_interrupt()
1277 stat->d_time += (get_cycles() - time_start); uv_bau_message_interrupt()
/linux-4.1.27/arch/ia64/kernel/
H A Dtime.c360 return get_cycles(); itc_get_cycles()
363 now = get_cycles(); itc_get_cycles()
/linux-4.1.27/arch/tile/gxio/
H A Dmpipe.c461 cycles_t cycles = get_cycles(); gxio_mpipe_set_timestamp()
473 cycles_prev = get_cycles(); gxio_mpipe_get_timestamp()
/linux-4.1.27/arch/nios2/kernel/
H A Dtime.c105 cycles_t get_cycles(void) get_cycles() function
/linux-4.1.27/arch/parisc/kernel/
H A Dtime.c194 return get_cycles(); read_cr16()
/linux-4.1.27/drivers/input/joystick/
H A Danalog.c167 #define GET_TIME(x) do { x = get_cycles(); } while (0)
169 #define TIME_NAME "get_cycles"
/linux-4.1.27/drivers/staging/unisys/uislib/
H A Duislib.c1123 old_cycles = get_cycles(); process_incoming()
1126 cur_cycles = get_cycles(); process_incoming()
1182 cur_cycles = get_cycles(); process_incoming()
/linux-4.1.27/drivers/video/fbdev/
H A Dudlfb.c587 start_cycles = get_cycles(); dlfb_handle_damage()
629 end_cycles = get_cycles(); dlfb_handle_damage()
724 start_cycles = get_cycles(); dlfb_dpy_deferred_io()
754 end_cycles = get_cycles(); dlfb_dpy_deferred_io()
/linux-4.1.27/drivers/iommu/
H A Ddmar.c1338 cycles_t start_time = get_cycles(); dmar_disable_qi()
1354 (DMAR_OPERATION_TIMEOUT > (get_cycles() - start_time))) dmar_disable_qi()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c1208 txdata->idle += get_cycles() - txdata->last_idle; __wil_tx_vring()
1444 txdata->last_idle = get_cycles(); wil_tx_complete()
H A Ddebugfs.c108 cycles_t now = get_cycles(); wil_vring_debugfs_show()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dswitch.c296 csa->suspend_time = get_cycles(); save_timebase()
1278 cycles_t resume_time = get_cycles(); setup_decr()
/linux-4.1.27/fs/ext4/
H A Dmballoc.c732 unsigned long long period = get_cycles(); ext4_mb_generate_buddy()
772 period = get_cycles() - period; ext4_mb_generate_buddy()
/linux-4.1.27/mm/
H A Dslub.c1695 get_cycles() % 1024 > s->remote_node_defrag_ratio) get_any_partial()
4212 p += 64 + (get_cycles() & 0xff) * sizeof(void *); resiliency_test()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_driver.c1499 (unsigned long)get_cycles(), no_pio_bufs()
/linux-4.1.27/sound/pci/rme9652/
H A Dhdspm.c5409 /* now = get_cycles(); */ snd_hdspm_interrupt()

Completed in 1642 milliseconds