/third_party/pulseaudio/src/modules/ |
H A D | module-tunnel.c | 55 #include <pulsecore/time-smoother_2.h> 57 #include <pulsecore/time-smoother.h> 494 /* Correct by the time the requested issued needs to travel to the in check_smoother_status() 651 /* We may use u->snapshot time because the main thread is waiting */ in sink_process_msg() 663 /* We may use u->snapshot time because the main thread is waiting */ in sink_process_msg() 797 /* We may use u->snapshot time because the main thread is waiting */ in source_process_msg() 805 /* We may use u->snapshot time because the main thread is waiting */ in source_process_msg() 1020 /* It may take some time before the async message is executed, so we take a timestamp here */ in stream_get_latency_callback() 2468 /* Smoother window must be larger than time between updates. */ in do_init()
|
/third_party/python/Lib/ |
H A D | pydoc.py | 71 import time namespace 1553 """The first time this is called, determine what kind of pager to use.""" 2070 If this is your first time using Python, you should definitely check out 2293 >>> import time 2325 Use time.sleep so the loop doesn't hog the CPU. 2327 >>> starttime = time.monotonic() 2333 ... time.sleep(.01) 2334 ... if serverthread.serving and time.monotonic() - starttime > timeout: 2435 time.sleep(.01)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | mutex.cc | 26 #include <sys/time.h> 34 #include <time.h> 59 #include "absl/time/time.h" 495 KernelTimeout timeout; // timeout expiry---absolute time 603 // --------------------------time support 605 // Return the current time plus the timeout. Use the same clock as 920 // pthread_getschedparam() is 5% of the block/wakeup time; in Enqueue() 1120 // if the wait extends past the absolute time specified, even if "s" is still 2087 bool do_enqueue = true; // always Enqueue() the first time in UnlockSlow() [all...] |
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 156 * slope of the workload size vs frame time data is estimated. This slope 157 * tells us the estimated increase in frame time caused by a workload 168 * At this point, the result tells us the increase in frame time caused 171 * fragments in a draw call, we get the time cost of one operation. 174 * between workload size and frame time. Instead, there tends to be some 176 * workload sizes below some positive integer C yield the same frame time, 177 * and only workload sizes beyond C increase the frame time in a supposedly 266 STATE_FIND_HIGH_WORKLOAD, //!< Find an appropriate lower bound for the highest workload size we intend to use (one with high-enough frame time compared to workload size 1) for each program. 281 void addFrameTime (float time) { frameTimes.push_back(time); } in addFrameTime() [all...] |
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 156 * slope of the workload size vs frame time data is estimated. This slope 157 * tells us the estimated increase in frame time caused by a workload 168 * At this point, the result tells us the increase in frame time caused 171 * fragments in a draw call, we get the time cost of one operation. 174 * between workload size and frame time. Instead, there tends to be some 176 * workload sizes below some positive integer C yield the same frame time, 177 * and only workload sizes beyond C increase the frame time in a supposedly 266 STATE_FIND_HIGH_WORKLOAD, //!< Find an appropriate lower bound for the highest workload size we intend to use (one with high-enough frame time compared to workload size 1) for each program. 281 void addFrameTime (float time) { frameTimes.push_back(time); } in addFrameTime() [all...] |
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_meter.cpp | 354 time_t now = time(nullptr); in SetAppFileName() 356 HILOG_ERROR(LOG_CORE, "get time failed, %{public}d", errno); in SetAppFileName() 1022 // as /data/app/el2/100/log/$(processname)/trace/$(processname)_$(date)_&(time).trace and return to caller.
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_private_member_test.cpp | 26 #include <sys/time.h>
|
/base/powermgr/display_manager/brightness_manager/src/ |
H A D | brightness_service.cpp | 257 time_t currentTime = time(0);
in NotifyLightChangeToAps()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 1242 std::string TimeToString(int64_t time);
|
/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/ |
H A D | common_event_services_publish_ordered_module_test.cpp | 17 #include <sys/time.h> 177 // get current time and compare it with the start time in ProcessSubscriberTestCase3() 210 // get current time and compare it with the start time in ProcessSubscriberTestCase5() 242 // get current time and compare it with the start time in AsyncProcess() 337 // get current time and compare it with the start time in ProcessSubscriberAnotherTestCase5() 370 // get current time an in AsyncProcess() [all...] |
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
H A D | hks_ipc_service.c | 22 #include <sys/time.h>
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_secure_access.c | 183 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, ret, "get elapsed real time failed!") in AddKeyAccessTimeParams() 189 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, ret, "add access time param fail") in AddKeyAccessTimeParams() 257 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "add key access time params failed!") in BuildAuthRuntimeParamSet() 314 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_BAD_STATE, "get access time failed!") in HksVerifyKeyTimestamp() 317 uint64_t authTokenTime = token->plaintextData.time / S_TO_MS; in HksVerifyKeyTimestamp() 320 HKS_LOG_E("auth token time out!"); in HksVerifyKeyTimestamp() 868 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, ret, "build auth run time params failed") in HksCoreSecureAccessInitParams()
|
/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 24 #include <time.h>
|
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_bulkcallback_mock_test.cpp | 19 #include <sys/time.h>
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_bulkcallback_test.cpp | 18 #include <sys/time.h>
|
/drivers/hdf_core/framework/model/input/driver/ |
H A D | hdf_touch.c | 23 #include <linux/time.h> 229 OsalMSleep(100); // 100 : delay time in Gt1xRequestIo() 235 OsalMSleep(20); // 20 : delay time in Gt1xRequestIo() 533 OsalMSleep(50); // 50: sleep time in Gt1xEsdCheckFunc() 542 OsalMSleep(50); // 50: sleep time in Gt1xEsdCheckFunc() 554 int32_t count = 20; // 20 : reset time in ChipCheckResetRetry() 563 OsalMSleep(100); // 100 : wait 100msthen try one time in ChipCheckResetRetry() 568 HDF_LOGE("%s: reset chip %d time", __func__, count); in ChipCheckResetRetry() 576 int32_t count = 20; // 20: reset time in ChipDriverInit() 593 OsalMSleep(100); // 100 : wait 100msthen try one time in ChipDriverInit() [all...] |
/drivers/interface/display/composer/v1_0/display_command/ |
H A D | display_cmd_responser.h | 24 #include <sys/time.h> 1086 HDF_LOGI("wirte file take time %{public}lld", time_after.count() - time_before.count()); in DumpLayerBuffer()
|
/drivers/peripheral/camera/test/demo_3A/ |
H A D | ohos_camera_demo_3a.cpp | 373 auto seconds = time(nullptr); in OpenVideoFile()
|
/drivers/peripheral/camera/test/demo/ |
H A D | ohos_camera_demo.cpp | 378 auto seconds = time(nullptr); in OpenVideoFile()
|
/drivers/peripheral/display/composer/test/unittest/ |
H A D | hdi_composer_ut.cpp | 31 #include <sys/time.h>
|
/drivers/peripheral/distributed_camera/hdi_service/test/sample/ |
H A D | dcamera_hdf_demo.cpp | 349 auto seconds = time(nullptr); in OpenVideoFile()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | efi.c | 32 #include <linux/time.h>
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 20 #include <asm/time.h> 464 * because by the time we exit icp_try_to_deliver() the target in icp_deliver_irq() 494 * If the need_resend flag got cleared in the ICP some time in icp_deliver_irq()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 26 #include <linux/time.h>
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | virtio_uml.c | 29 #include <linux/time-internal.h> 133 * In virtio time-travel mode, we're handling all the vhost-user in vhost_user_recv() 137 * time message while doing so, e.g. one that tells us to update in vhost_user_recv() 141 * to also handle messages for the simulation time - this function in vhost_user_recv()
|