Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 46) sorted by relevance

12

/external/syslinux/gpxe/src/arch/i386/core/
Drdtsc_timer.c43 static void rdtsc_udelay ( unsigned long usecs ) { in rdtsc_udelay() argument
48 if ( ! usecs ) in rdtsc_udelay()
49 usecs = 1; in rdtsc_udelay()
56 } while ( elapsed < ( usecs * rdtsc_ticks_per_usec ) ); in rdtsc_udelay()
61 timer2_udelay ( usecs ); in rdtsc_udelay()
63 rdtsc_ticks_per_usec = ( elapsed / usecs ); in rdtsc_udelay()
65 "(%ld MHz)\n", elapsed, usecs, in rdtsc_udelay()
Dtimer2.c82 void timer2_udelay ( unsigned long usecs ) { in timer2_udelay() argument
83 load_timer2 ( ( usecs * TIMER2_TICKS_PER_SEC ) / ( 1000 * 1000 ) ); in timer2_udelay()
/external/ltp/testcases/lib/
Dtst_sleep.c45 long interval, secs = 0, usecs = 0; in main() local
91 usecs = (interval % 1000) * 1000; in main()
96 usecs = interval % 1000000; in main()
102 if (usecs) in main()
103 usleep(usecs); in main()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_time.c87 os_time_sleep(int64_t usecs) in os_time_sleep() argument
91 time.tv_sec = usecs / 1000000; in os_time_sleep()
92 time.tv_nsec = (usecs % 1000000) * 1000; in os_time_sleep()
96 usleep(usecs); in os_time_sleep()
99 DWORD dwMilliseconds = (DWORD) ((usecs + 999) / 1000); in os_time_sleep()
Dos_time.h74 os_time_sleep(int64_t usecs);
/external/mesa3d/src/gallium/auxiliary/util/
Du_time.h76 int64_t usecs, in util_time_add() argument
79 t2->counter = t1->counter + usecs; in util_time_add()
140 util_time_sleep(int64_t usecs) in util_time_sleep() argument
142 os_time_sleep(usecs); in util_time_sleep()
/external/syslinux/gpxe/src/interface/efi/
Defi_timer.c53 static void efi_udelay ( unsigned long usecs ) { in efi_udelay() argument
57 if ( ( efirc = bs->Stall ( usecs ) ) != 0 ) { in efi_udelay()
59 usecs, efi_strerror ( efirc ) ); in efi_udelay()
/external/libvncserver/examples/
D1instance.c48 int get_next_message(char* buffer,int len,single_instance_struct* str,int usecs) in get_next_message() argument
57 tv.tv_usec=usecs; in get_next_message()
78 int dispatch_event(single_instance_struct* str,event_dispatcher dispatcher,int usecs) in dispatch_event() argument
83 if((num_fds=get_next_message(buffer,1024,str,usecs)) && buffer[0]) in dispatch_event()
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
Dbios_timer.h26 TIMER_INLINE ( pcbios, udelay ) ( unsigned long usecs ) { in TIMER_INLINE()
30 timer2_udelay ( usecs ); in TIMER_INLINE()
Dtimer2.h12 extern void timer2_udelay ( unsigned long usecs );
/external/syslinux/gpxe/src/include/
Dunistd.h39 static inline __always_inline void usleep ( unsigned long usecs ) { in usleep() argument
40 udelay ( usecs ); in usleep()
/external/autotest/client/site_tests/kernel_Delay/
Dkernel_Delay.py177 def _test_udelay(self, usecs): argument
184 self._set_file('%d %d' % (usecs, self.ITERATIONS), self.UDELAY_PATH)
197 for usecs in self.DELAYS:
198 self._test_udelay(usecs)
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc78 int64_t usecs = max_time.InMicroseconds(); in TimedWait() local
80 relative_time.tv_sec = usecs / Time::kMicrosecondsPerSecond; in TimedWait()
82 (usecs % Time::kMicrosecondsPerSecond) * Time::kNanosecondsPerMicrosecond; in TimedWait()
/external/python/cpython2/Demo/rpc/
Dnfsclient.py57 secs, usecs = tv
59 self.pack_uint(usecs)
118 usecs = self.unpack_uint()
119 return (secs, usecs)
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.h58 unsigned usecs; member
74 void pb_cache_init(struct pb_cache *mgr, uint usecs, float size_factor,
Dpb_cache.c106 entry->end = entry->start + mgr->usecs; in pb_cache_add_buffer()
273 pb_cache_init(struct pb_cache *mgr, uint usecs, float size_factor, in pb_cache_init() argument
286 mgr->usecs = usecs; in pb_cache_init()
Dpb_bufmgr_cache.c290 unsigned usecs, in pb_cache_manager_create() argument
308 pb_cache_init(&mgr->cache, usecs, size_factor, bypass_usage, in pb_cache_manager_create()
/external/fio/
Dgettime.c170 uint64_t usecs, t; in __fio_gettime() local
193 usecs = t / ARCH_CPU_CLOCK_CYCLES_PER_USEC; in __fio_gettime()
196 usecs = (t * inv_cycles_per_usec) / 16777216UL; in __fio_gettime()
198 usecs = t / cycles_per_usec; in __fio_gettime()
200 tp->tv_sec = usecs / 1000000; in __fio_gettime()
201 tp->tv_usec = usecs % 1000000; in __fio_gettime()
/external/libmicrohttpd/src/testspdy/
Dtest_request_response_with_callback.c272 uint64_t usecs; in childproc() local
288 usecs = (uint64_t)1000000 * (uint64_t)(tv2.tv_sec - tv1.tv_sec) + tv2.tv_usec - tv1.tv_usec; in childproc()
289 printf("%lld bytes read in %llu usecs\n", (long long)st.st_size, (long long unsigned )usecs); in childproc()
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c46 static void cpu_soak_usecs(unsigned long usecs) in cpu_soak_usecs() argument
51 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
/external/iw/
Devent.c308 unsigned long long usecs, previous; in print_event() local
312 usecs = 1000000ULL * args->ts.tv_sec + args->ts.tv_usec; in print_event()
315 usecs = 0; in print_event()
318 usecs -= previous; in print_event()
320 printf("%llu.%06llu: ", usecs/1000000, usecs % 1000000); in print_event()
/external/syslinux/gpxe/src/include/gpxe/
Dtimer.h57 void udelay ( unsigned long usecs );
/external/valgrind/coregrind/
Dvgdb.c222 unsigned int usecs; in invoke_gdbserver_in_valgrind() local
244 usecs = 1000 * max_invoke_ms; in invoke_gdbserver_in_valgrind()
251 usecs = 0; in invoke_gdbserver_in_valgrind()
257 if (usecs == 0 || usecs > 1000 * 1000) in invoke_gdbserver_in_valgrind()
258 usecs = 1000 * 1000; in invoke_gdbserver_in_valgrind()
260 usleep(usecs); in invoke_gdbserver_in_valgrind()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.h61 unsigned usecs; member
/external/wpa_supplicant_8/src/utils/
Deloop.h179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,

12