/third_party/node/deps/v8/tools/chrome/ |
H A D | linux_perf.py | 15 import time namespace 154 time.sleep(options.timeout) 163 time.sleep(1)
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 36 #include <sys/time.h> 58 time_t time (time_t *); 150 __REDIR(time, __time64);
|
/third_party/littlefs/scripts/ |
H A D | tailpipe.py | 19 import time namespace 118 time.sleep(sleep or 0.01) 132 time.sleep(sleep or 0.1)
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-aix.cc | 14 #include <sys/time.h> 54 const char* LocalTimezone(double time) override; 73 time_t utc = time(nullptr); in LocalTimeOffset()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | issue-1291.rs | 18 pub time: f32, 104 unsafe { ::std::ptr::addr_of!((*ptr).time) as usize - ptr as usize }, in bindgen_test_layout_RTCRay() 110 stringify!(time) in bindgen_test_layout_RTCRay()
|
/third_party/python/Lib/test/ |
H A D | bisect_cmd.py | 28 import time namespace 131 start_time = time.monotonic() 168 dt = math.ceil(time.monotonic() - start_time)
|
H A D | test_winsound.py | 4 import time namespace 61 time.sleep(0.5) 142 time.sleep(0.5)
|
/third_party/python/Lib/test/support/ |
H A D | interpreters.py | 3 import time namespace 157 time.sleep(_delay) 186 time.sleep(2)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | extdependency.py | 196 import time namespace 197 startTime = time.process_time() 202 endTime = time.process_time() 205 print('Total time = {} time/loop = {}'.format(deltaT, deltaT / args.loops))
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBufferX11.cpp | 162 double time = sw::Timer::seconds(); in blit() local 163 double delta = time - fpsTime; in blit() 173 fpsTime = time; in blit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/cmd/benchdiff/ |
H A D | main.go | 28 "time" 34 minDiff = flag.Duration("min-diff", time.Microsecond*10, "Filter away time diffs less than this duration") 91 a time.Duration 92 b time.Duration
|
/drivers/peripheral/audio/test/systemtest/hdi_service/rk3568/render/src/ |
H A D | audio_idl_hdirender_hardware_dependence_test.cpp | 572 struct AudioTimeStamp time = {.tvSec = 0, .tvNSec = 0}; in HWTEST_F() local 590 ret = render->GetRenderPosition(render, &frames, &time); in HWTEST_F() 592 EXPECT_GT((time.tvSec) * SECTONSEC + (time.tvNSec), timeExp); in HWTEST_F() 609 struct AudioTimeStamp time = {.tvSec = 0, .tvNSec = 0}; in HWTEST_F() local 627 ret = render->GetRenderPosition(render, &frames, &time); in HWTEST_F() 629 EXPECT_GT((time.tvSec) * SECTONSEC + (time.tvNSec), timeExp); in HWTEST_F()
|
/drivers/peripheral/audio/test/systemtest/hdi_service/rk3568/capture/src/ |
H A D | audio_idl_hdicapture_hardware_dependence_test.cpp | 594 struct AudioTimeStamp time = {.tvSec = 0, .tvNSec = 0}; in HWTEST_F() local 612 ret = capture->GetCapturePosition(capture, &frames, &time); in HWTEST_F() 614 EXPECT_GT((time.tvSec) * SECTONSEC + (time.tvNSec), timeExp); in HWTEST_F() 630 struct AudioTimeStamp time = {.tvSec = 0, .tvNSec = 0}; in HWTEST_F() local 648 ret = capture->GetCapturePosition(capture, &frames, &time); in HWTEST_F() 650 EXPECT_GT((time.tvSec) * SECTONSEC + (time.tvNSec), timeExp); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_manager.cpp | 75 void DfxManager::HandleTimeOutOperation(std::string &bundleName, int32_t type, int32_t object, int32_t time) in HandleTimeOutOperation() argument 81 dfxReporter_->ReportTimeOutOperation(bundleName, type, object, time); in HandleTimeOutOperation() 292 int64_t time = MediaFileUtils::UTCTimeSeconds(); in HandleHalfDayMissions() local 293 prefs->PutLong(LAST_HALF_DAY_REPORT_TIME, time); in HandleHalfDayMissions() 611 int64_t time = prefs->GetLong(CLOUD_SYNC_START_TIME, 0); in SetStartTime() local 613 if (time != 0) { in SetStartTime() 616 time = MediaFileUtils::UTCTimeSeconds(); in SetStartTime() 617 prefs->PutLong(CLOUD_SYNC_START_TIME, time); in SetStartTime()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_auto_launch_test.cpp | 304 Timestamp time = 100; // initial valid timestamp. in PutSyncData() local 305 kvStore->GetMaxTimestamp(time); in PutSyncData() 307 time += 10; // add the diff for 10. in PutSyncData() 309 time -= 10; // add the diff for -10. in PutSyncData() 311 vect.push_back({key, value, time, 0, DBCommon::TransferHashString("deviceB")}); in PutSyncData() 529 void SetAutoLaunchLifeCycleTime(const std::string &storeId, uint32_t time) in SetAutoLaunchLifeCycleTime() argument 531 LOGI("SetAutoLifeTime:%u", time); in SetAutoLaunchLifeCycleTime() 537 EXPECT_EQ(connection->Pragma(PRAGMA_SET_AUTO_LIFE_CYCLE, static_cast<PragmaData>(&time)), E_OK); in SetAutoLaunchLifeCycleTime() 628 * @tc.steps: step5. Check the notifier for waiting for more than the life time of the auto launched database. in HWTEST_F()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TrieMapTest.java | 178 public void time(int repeat) { in timeIteration() 188 logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getIterations()); in timeIteration() 190 logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration() 196 public void time(int repeat) { in timeIteration() 205 logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration() 319 public void time(int repeat) { in timeBuilding() 325 logln("\tbuild time\tTREEMAP\tn/a\t" + t.toString(testmap.size()) + "\t\titerations=" + t.getIterations()); in timeBuilding() 330 public void time(int repeat) { in timeBuilding() 336 logln("\tbuild time\tHASHMAP\tn/a\t" + t.toString(testmap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeBuilding() 342 public void time(in in timeBuilding() 506 abstract public void time(int repeat); time() method in TrieMapTest.MyLoop [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieMapTest.java | 175 public void time(int repeat) { in timeIteration() 185 logln("\titeration time\tTREEMAP\tn/a\t" + t.toString(testMap.size()) + "\t\titerations=" + t.getIterations()); in timeIteration() 187 logln("\titeration time\tHASHMAP\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration() 193 public void time(int repeat) { in timeIteration() 202 logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration() 316 public void time(int repeat) { in timeBuilding() 322 logln("\tbuild time\tTREEMAP\tn/a\t" + t.toString(testmap.size()) + "\t\titerations=" + t.getIterations()); in timeBuilding() 327 public void time(int repeat) { in timeBuilding() 333 logln("\tbuild time\tHASHMAP\tn/a\t" + t.toString(testmap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeBuilding() 339 public void time(in in timeBuilding() 503 abstract public void time(int repeat); time() method in TrieMapTest.MyLoop [all...] |
/third_party/node/lib/internal/console/ |
H A D | constructor.js | 397 time(label = 'default') { 401 process.emitWarning(`Label '${label}' already exists for console.time()`); 404 trace(kTraceBegin, kTraceConsoleCategory, `time::${label}`, 0); 412 trace(kTraceEnd, kTraceConsoleCategory, `time::${label}`, 0); 422 trace(kTraceInstant, kTraceConsoleCategory, `time::${label}`, 0); 618 const time = self._times.get(label); 619 if (time === undefined) { 623 const duration = process.hrtime(time);
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_service_test.cpp | 867 time_t now = time(nullptr); in AllowSystemTimerScanFail5() 982 time_t now = time(nullptr); in GetAllowBandFreqsControlInfoSuccess1() 999 time_t now = time(nullptr); in GetAllowBandFreqsControlInfoSuccess2() 1193 time_t now = time(nullptr); in AllowScanDuringCustomSceneSuccess1() 1207 time_t now = time(nullptr); in AllowScanDuringCustomSceneSuccess2() 1221 time_t now = time(nullptr); in AllowScanDuringCustomSceneFail1() 1239 time_t now = time(nullptr); in AllowScanDuringCustomSceneFail2() 1257 time_t now = time(nullptr); in AllowScanDuringCustomSceneFail3() 1338 time_t fixedScanTime = time(nullptr) - 1; in PnoScanByIntervalSuccess2() 1347 time_t fixedScanTime = time(nullpt in PnoScanByIntervalSuccess3() [all...] |
/foundation/barrierfree/accessibility/common/interface/src/ |
H A D | accessible_ability_manager_service_proxy.cpp | 742 RetError AccessibleAbilityManagerServiceProxy::SetMouseAutoClick(const int32_t time) in SetMouseAutoClick() argument 754 if (!data.WriteInt32(time)) { in SetMouseAutoClick() 755 HILOG_ERROR("fail, connection write SetMouseAutoClick time"); in SetMouseAutoClick() 955 HILOG_ERROR("fail, connection write SetDaltonizationColorFilter time"); in SetDaltonizationColorFilter() 968 RetError AccessibleAbilityManagerServiceProxy::SetContentTimeout(const uint32_t time) in SetContentTimeout() argument 980 if (!data.WriteUint32(time)) { in SetContentTimeout() 981 HILOG_ERROR("fail, connection write SetContentTimeout time"); in SetContentTimeout() 1006 HILOG_ERROR("fail, connection write SetBrightnessDiscount time"); in SetBrightnessDiscount() 1031 HILOG_ERROR("fail, connection write SetAudioBalance time"); in SetAudioBalance() 1043 RetError AccessibleAbilityManagerServiceProxy::SetClickResponseTime(const uint32_t time) in SetClickResponseTime() argument 1093 SetIgnoreRepeatClickTime(const uint32_t time) SetIgnoreRepeatClickTime() argument 1188 GetMouseAutoClick(int32_t &time) GetMouseAutoClick() argument 1465 GetClickResponseTime(uint32_t& time) GetClickResponseTime() argument 1511 GetIgnoreRepeatClickTime(uint32_t& time) GetIgnoreRepeatClickTime() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_utils.cpp | 127 struct timespec time; in GetCurNano() local 129 int ret = clock_gettime(clockId, &time); in GetCurNano() 132 result = (time.tv_sec * AUDIO_NS_PER_SECOND) + time.tv_nsec; in GetCurNano() 140 "AbsoluteSleep invalid sleep time :%{public}" PRId64 " ns", nanoTime); in AbsoluteSleep() 141 struct timespec time; in AbsoluteSleep() local 142 time.tv_sec = nanoTime / AUDIO_NS_PER_SECOND; in AbsoluteSleep() 143 time.tv_nsec = nanoTime - (time.tv_sec * AUDIO_NS_PER_SECOND); // Avoids % operation. in AbsoluteSleep() 146 ret = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullpt in AbsoluteSleep() 159 struct timespec time; RelativeSleep() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeStablityTest.cpp | 95 time_t startTime = time(nullptr); in RunLongTimeFlush() 110 curTime = time(nullptr); in RunLongTimeFlush() 124 time_t startTime = time(nullptr); in RunLongTimeReset() 139 curTime = time(nullptr); in RunLongTimeReset() 153 time_t startTime = time(nullptr); in RunLongTimeStop() 170 curTime = time(nullptr); in RunLongTimeStop() 200 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 224 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 249 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 278 cout << "2000 times finish, run time i in HWTEST_F() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | concurrent.py | 23 import time namespace 103 self.start_time = time.time() 166 end_time = time.time() 182 ReportConstant.start_time: time.strftime( 183 ReportConstant.time_format, time.localtime(int(self.start_time))), 184 ReportConstant.end_time: time.strftime( 185 ReportConstant.time_format, time.localtime(int(end_time))), 563 start_time = time [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | f_ebur128.c | 56 * infinitely over the time and is thus more scalable. 650 #define MOVE_TO_NEXT_CACHED_ENTRY(time) do { \ in filter_frame() 651 ebur128->i##time.cache_pos++; \ in filter_frame() 652 if (ebur128->i##time.cache_pos == \ in filter_frame() 653 ebur128->i##time.cache_size) { \ in filter_frame() 654 ebur128->i##time.filled = 1; \ in filter_frame() 655 ebur128->i##time.cache_pos = 0; \ in filter_frame() 714 #define COMPUTE_LOUDNESS(m, time) do { \ in filter_frame() 715 if (ebur128->i##time.filled) { \ in filter_frame() 716 /* weighting sum of the last <time> m in filter_frame() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 51 #include <time.h> 80 * For debugging purposes, this returns a time in seconds. 150 time_t time; member 666 /** Frees all cached buffers significantly older than @time. */ 668 cleanup_bo_cache(struct crocus_bufmgr *bufmgr, time_t time) in cleanup_bo_cache() argument 672 if (bufmgr->time == time) in cleanup_bo_cache() 679 if (time - bo->free_time <= 1) in cleanup_bo_cache() 699 bufmgr->time = time; in cleanup_bo_cache() 703 bo_unreference_final(struct crocus_bo *bo, time_t time) bo_unreference_final() argument 728 struct timespec time; __crocus_bo_unreference() local [all...] |