Home
last modified time | relevance | path

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

12

/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/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/autotest/client/site_tests/kernel_Delay/
Dkernel_Delay.py170 def _test_udelay(self, usecs): argument
177 self._set_file('%d %d' % (usecs, self.ITERATIONS), self.UDELAY_PATH)
213 for usecs in self.DELAYS:
214 self._test_udelay(usecs)
/external/mesa3d/src/gallium/auxiliary/os/
Dos_time.c74 os_time_sleep(int64_t usecs) in os_time_sleep() argument
76 Sleep((usecs + 999) / 1000); in os_time_sleep()
Dos_time.h67 os_time_sleep(int64_t 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/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_cache.c79 unsigned usecs; member
161 buf->end = buf->start + mgr->usecs; in pb_cache_buffer_destroy()
390 unsigned usecs) in pb_cache_manager_create() argument
405 mgr->usecs = usecs; in pb_cache_manager_create()
Dpb_bufmgr.h164 unsigned usecs);
/external/fio/
Dgettime.c166 uint64_t usecs, t; in __fio_gettime() local
189 usecs = t / ARCH_CPU_CLOCK_CYCLES_PER_USEC; in __fio_gettime()
192 usecs = (t * inv_cycles_per_usec) / 16777216UL; in __fio_gettime()
194 usecs = t / cycles_per_usec; in __fio_gettime()
196 tp->tv_sec = usecs / 1000000; in __fio_gettime()
197 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/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/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/wpa_supplicant_8/src/utils/
Deloop.h179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
Deloop_win.c237 int eloop_register_timeout(unsigned int secs, unsigned int usecs, in eloop_register_timeout() argument
263 timeout->time.usec += usecs; in eloop_register_timeout()
/external/wpa_supplicant_8/wpa_supplicant/
Dgas_query.c367 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
375 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
377 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
379 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/external/libvncserver/libvncclient/
Dsockets.c804 int WaitForMessage(rfbClient* client,unsigned int usecs) argument
814 timeout.tv_sec=(usecs/1000000);
815 timeout.tv_usec=(usecs%1000000);
/external/iputils/
Darping.c459 long usecs = (tv.tv_sec-last.tv_sec) * 1000000 + in recv_pack() local
461 long msecs = (usecs+500)/1000; in recv_pack()
462 usecs -= msecs*1000 - 500; in recv_pack()
463 printf(" %ld.%03ldms\n", msecs, usecs); in recv_pack()
/external/v8/src/base/platform/
Dplatform-posix.cc346 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
355 *usecs = static_cast<uint32_t>(usage.ru_utime.tv_usec); in GetUserTime()
Dplatform.h118 static int GetUserTime(uint32_t* secs, uint32_t* usecs);
Dplatform-win32.cc428 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
441 *usecs = static_cast<uint32_t>(usertime % 1000000); in GetUserTime()
/external/autotest/client/cros/
Dpower_status.py748 usecs = int(utils.read_one_line(os.path.join(state, 'time')))
749 cpuidle_stats['C0'] -= usecs
756 % (usecs, state) + '... skipping.')
759 cpuidle_stats[name] += usecs
/external/iproute2/lib/
Dutils.c1025 long usecs = ((__u32*)NLMSG_DATA(n))[1]; in print_nlmsg_timestamp() local
1028 fprintf(fp, "Timestamp: %s %lu us\n", tstr, usecs); in print_nlmsg_timestamp()
/external/libvncserver/rfb/
Drfbclient.h573 extern int WaitForMessage(rfbClient* client,unsigned int usecs);
/external/ppp/pppd/
Dmain.c1321 timeout(func, arg, secs, usecs)
1324 int secs, usecs; variable
1337 newp->c_time.tv_usec = timenow.tv_usec + usecs;
/external/netperf/src/
Dnetlib.c4540 int usecs, secs; in delta_micro() local
4547 usecs = end->tv_usec - begin->tv_usec; in delta_micro()
4550 usecs += (secs * 1000000); in delta_micro()
4552 return(usecs); in delta_micro()

12