Home
last modified time | relevance | path

Searched refs:usecs (Results 1 - 25 of 40) sorted by relevance

12

/third_party/ltp/testcases/lib/
H A Dtst_sleep.c32 long interval, secs = 0, usecs = 0; in main() local
78 usecs = (interval % 1000) * 1000; in main()
83 usecs = interval % 1000000; in main()
89 if (usecs) in main()
90 usleep(usecs); in main()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DSystemUtils.cpp28 void USleep(unsigned int usecs) { in USleep() argument
29 Sleep(static_cast<DWORD>(usecs / 1000)); in USleep()
32 void USleep(unsigned int usecs) {
33 usleep(usecs);
H A DSystemUtils.h20 void USleep(unsigned int usecs);
/third_party/curl/lib/
H A Dtimeval.c147 uint64_t usecs; in Curl_now() local
152 usecs = mach_absolute_time(); in Curl_now()
153 usecs *= timebase.numer; in Curl_now()
154 usecs /= timebase.denom; in Curl_now()
155 usecs /= 1000; in Curl_now()
157 cnow.tv_sec = usecs / 1000000; in Curl_now()
158 cnow.tv_usec = (int)(usecs % 1000000); in Curl_now()
/third_party/mesa3d/src/util/
H A Dos_time.c93 os_time_sleep(int64_t usecs) in os_time_sleep() argument
97 time.tv_sec = usecs / 1000000; in os_time_sleep()
98 time.tv_nsec = (usecs % 1000000) * 1000; in os_time_sleep()
102 usleep(usecs); in os_time_sleep()
105 DWORD dwMilliseconds = (DWORD) ((usecs + 999) / 1000); in os_time_sleep()
H A Dos_time.h81 os_time_sleep(int64_t usecs);
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx06.c49 unsigned int usecs; in clock_wait_tick() local
52 usecs = tst_timespec_to_us(res); in clock_wait_tick()
54 usleep(usecs); in clock_wait_tick()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_cache.h61 unsigned usecs; member
78 uint usecs, float size_factor,
H A Dpb_cache.c106 entry->end = entry->start + mgr->usecs; in pb_cache_add_buffer()
268 * @param usecs Unused buffers may be released from the cache after this
281 uint usecs, float size_factor, in pb_cache_init()
301 mgr->usecs = usecs; in pb_cache_init()
280 pb_cache_init(struct pb_cache *mgr, uint num_heaps, uint usecs, float size_factor, unsigned bypass_usage, uint64_t maximum_cache_size, void *winsys, void (*destroy_buffer)(void *winsys, struct pb_buffer *buf), bool (*can_reclaim)(void *winsys, struct pb_buffer *buf)) pb_cache_init() argument
H A Dpb_bufmgr_cache.c278 * @param usecs Unused buffers may be released from the cache after this
289 unsigned usecs, in pb_cache_manager_create()
307 pb_cache_init(&mgr->cache, 1, usecs, size_factor, bypass_usage, in pb_cache_manager_create()
288 pb_cache_manager_create(struct pb_manager *provider, unsigned usecs, float size_factor, unsigned bypass_usage, uint64_t maximum_cache_size) pb_cache_manager_create() argument
H A Dpb_bufmgr.h138 unsigned usecs,
/third_party/backends/backend/
H A Dplustek-pp_scan.h121 # define _DO_UDELAY(usecs) sanei_pp_udelay(usecs)
H A Du12-scanner.h58 #define _DO_UDELAY(usecs) u12io_udelay(usecs)
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A 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()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemoryExternalMac.hpp49 uint64_t usecs = (uint64_t)((double)time * convert_ratio - secs * 1e9); in GetTime() local
51 tv.tv_nsec = usecs; in GetTime()
/third_party/libwebsockets/lib/core-net/
H A Dwsi-timeout.c65 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs) in lws_set_timer_usecs() argument
67 __lws_set_timer_usecs(wsi, usecs); in lws_set_timer_usecs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dgas_query_ap.c349 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
352 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
354 " in %u secs %u usecs", MAC2STR_SEC(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dgas_query_ap.c349 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
352 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
354 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Deloop.h170 * @usecs: Number of microseconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Deloop.h170 * @usecs: Number of microseconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dgas_query.c395 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
403 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
405 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
407 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dgas_query.c386 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local
394 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay()
396 " in %u secs %u usecs", MAC2STR_SEC(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay()
398 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-timeout-timer.h127 * \param usecs: LWS_SET_TIMER_USEC_CANCEL removes any existing scheduled
151 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs);
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-starboard.cc85 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
93 *usecs = thread_now % kSbTimeSecond; in GetUserTime()
H A Dplatform-fuchsia.cc356 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
371 *usecs = in GetUserTime()

Completed in 17 milliseconds

12