/foundation/distributeddatamgr/relational_store/test/js/rdb/performance/src/ |
H A D | ResultSetPerf.js | 80 let startTime = new Date().getTime(); 85 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 96 let startTime = new Date().getTime() 101 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 112 let startTime = new Date().getTime() 117 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 128 let startTime = new Date().getTime(); 133 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 143 let startTime = new Date().getTime(); 148 let averageTime = ((endTime - startTime) * 100 [all...] |
H A D | RdbStoreOthersCallbackPerf.js | 89 averageTime = ((endTime - startTime) * 1000) / SPECIAL_BASE_COUNT; 97 let startTime = new Date().getTime(); 112 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 120 let startTime = new Date().getTime(); 133 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 141 let startTime = new Date().getTime(); 154 averageTime = ((endTime - startTime) * 1000) / SPECIAL_BASE_COUNT; 162 let startTime = new Date().getTime();
|
H A D | RdbStoreSyncPerf.js | 59 let startTime = new Date().getTime(); 64 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 72 let startTime = new Date().getTime(); 78 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 86 let startTime = new Date().getTime(); 92 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/performance/src/ |
H A D | ResultSetPerf.js | 81 let startTime = new Date().getTime(); 86 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 97 let startTime = new Date().getTime() 102 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 113 let startTime = new Date().getTime() 118 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 129 let startTime = new Date().getTime(); 134 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 144 let startTime = new Date().getTime(); 149 let averageTime = ((endTime - startTime) * 100 [all...] |
H A D | RdbStoreOthersCallbackPerf.js | 90 averageTime = ((endTime - startTime) * 1000) / SPECIAL_BASE_COUNT; 98 let startTime = new Date().getTime(); 113 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 121 let startTime = new Date().getTime(); 134 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 142 let startTime = new Date().getTime(); 155 averageTime = ((endTime - startTime) * 1000) / SPECIAL_BASE_COUNT; 163 let startTime = new Date().getTime();
|
H A D | RdbStoreSyncPerf.js | 57 let startTime = new Date().getTime(); 62 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 70 let startTime = new Date().getTime(); 76 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 84 let startTime = new Date().getTime(); 90 averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | js_free_install_observer.cpp | 32 const std::string &startTime, const int &resultCode) in OnInstallFinished() 37 ([jsObserver, bundleName, abilityName, startTime, resultCode](napi_env env, NapiAsyncTask &task, in OnInstallFinished() 41 jsObserverSptr->HandleOnInstallFinished(bundleName, abilityName, startTime, resultCode); in OnInstallFinished() 50 void JsFreeInstallObserver::OnInstallFinishedByUrl(const std::string &startTime, const std::string& url, in OnInstallFinishedByUrl() argument 56 ([jsObserver, startTime, url, resultCode](napi_env env, NapiAsyncTask &task, in OnInstallFinishedByUrl() 60 jsObserverSptr->HandleOnInstallFinishedByUrl(startTime, url, resultCode); in OnInstallFinishedByUrl() 70 const std::string &startTime, napi_value abilityResult) in OnInstallFinished() 78 if ((it->bundleName != bundleName) || (it->abilityName != abilityName) || (it->startTime != startTime)) { in OnInstallFinished() 103 FinishAsyncTrace(HITRACE_TAG_ABILITY_MANAGER, "StartFreeInstall", atoi(startTime in OnInstallFinished() 31 OnInstallFinished(const std::string &bundleName, const std::string &abilityName, const std::string &startTime, const int &resultCode) OnInstallFinished() argument 69 OnInstallFinished(const std::string &bundleName, const std::string &abilityName, const std::string &startTime, napi_value abilityResult) OnInstallFinished() argument 111 HandleOnInstallFinished(const std::string &bundleName, const std::string &abilityName, const std::string &startTime, const int &resultCode) HandleOnInstallFinished() argument 151 HandleOnInstallFinishedByUrl(const std::string &startTime, const std::string& url, const int &resultCode) HandleOnInstallFinishedByUrl() argument 250 AddJsObserverObject(const std::string &bundleName, const std::string &abilityName, const std::string &startTime, napi_value jsObserverObject, napi_value* result, bool isAbilityResult) AddJsObserverObject() argument 273 AddJsObserverObject(const std::string &startTime, const std::string &url, napi_value jsObserverObject, napi_value* result, bool isAbilityResult) AddJsObserverObject() argument [all...] |
H A D | free_install_observer_stub.cpp | 34 std::string startTime = data.ReadString(); in OnInstallFinishedInner() local 37 OnInstallFinished(bundleName, abilityName, startTime, resultCode); in OnInstallFinishedInner() 43 std::string startTime = data.ReadString(); in OnInstallFinishedByUrlInner() local 47 OnInstallFinishedByUrl(startTime, url, resultCode); in OnInstallFinishedByUrlInner()
|
/foundation/distributeddatamgr/preferences/test/js/performance/preferences/src/ |
H A D | PreferencesInstanceCallBackJsPref.test.js | 74 let startTime = new Date().getTime(); // time unit is mm 83 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 96 let startTime = new Date().getTime(); // time unit is mm 105 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 119 let startTime = new Date().getTime(); // time unit is mm 128 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 142 let startTime = new Date().getTime(); // time unit is mm 151 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 164 let startTime = new Date().getTime(); // time unit is mm 173 let averageTime = ((endTime - startTime) * 100 [all...] |
H A D | PreferencesInstancePromiseJsPref.test.js | 74 let startTime = new Date().getTime(); // time unit is mm 79 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 88 let startTime = new Date().getTime(); // time unit is mm 93 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 103 let startTime = new Date().getTime(); // time unit is mm 108 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 117 let startTime = new Date().getTime(); // time unit is mm 122 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 135 let startTime = new Date().getTime(); // time unit is mm 140 let averageTime = ((endTime - startTime) * 100 [all...] |
H A D | PreferencesOperationCallBackJsPref.test.js | 55 let startTime = new Date().getTime(); // time unit is mm 64 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 77 let startTime = new Date().getTime(); // time unit is mm 86 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 99 let startTime = new Date().getTime(); // time unit is mm 108 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 121 let startTime = new Date().getTime(); // time unit is mm 130 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
H A D | PreferencesOperationSyncJsPref.test.js | 55 let startTime = new Date().getTime(); // time unit is mm 60 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 69 let startTime = new Date().getTime(); // time unit is mm 74 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 83 let startTime = new Date().getTime(); // time unit is mm 88 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 98 let startTime = new Date().getTime(); // time unit is mm 103 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
H A D | PreferencesOperationPromiseJsPref.test.js | 55 let startTime = new Date().getTime(); // time unit is mm 60 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 69 let startTime = new Date().getTime(); // time unit is mm 74 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 83 let startTime = new Date().getTime(); // time unit is mm 88 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 97 let startTime = new Date().getTime(); // time unit is mm 102 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
H A D | PreferencesInstanceSyncJsPref.test.js | 50 let startTime = new Date().getTime(); // time unit is ms 55 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 64 let startTime = new Date().getTime(); // time unit is ms 69 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 78 let startTime = new Date().getTime(); // time unit is ms 83 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT; 95 let startTime = new Date().getTime(); // time unit is ms 100 let averageTime = ((endTime - startTime) * 1000) / BASE_COUNT;
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | js_free_install_observer.h | 32 std::string startTime; member 58 * @param startTime Free install start request time. 62 const std::string &startTime, const int &resultCode) override; 67 * @param startTime Free install start request time. 71 void OnInstallFinishedByUrl(const std::string &startTime, const std::string &url, 79 * @param startTime Free install start request time. 83 const std::string &startTime, napi_value abilityResult); 90 * @param startTime The startTime that want requested. 95 const std::string &startTime, napi_valu [all...] |
/foundation/ability/form_fwk/test/unittest/form_report_test/ |
H A D | form_report_test.cpp | 79 int64_t startTime = 1000; in HWTEST_F() local 80 formReport.SetStartGetTime(testFormId, startTime); in HWTEST_F() 83 EXPECT_EQ(statisticIt->second.startGetTime_, startTime); in HWTEST_F() 107 int64_t startTime = 1000; in HWTEST_F() local 108 formReport.SetStartGetTime(testFormId, startTime); in HWTEST_F() 123 int64_t startTime = 1* 1000; in HWTEST_F() local 124 formReport.SetDurationStartTime(testFormId, startTime); in HWTEST_F() 137 int64_t startTime = 1* 1000; in HWTEST_F() local 138 formReport.SetDurationStartTime(testFormId, startTime); in HWTEST_F() 141 EXPECT_EQ(statisticIt->second.durationStartTime_, startTime); in HWTEST_F() 164 int64_t startTime = 1000; HWTEST_F() local 193 int64_t startTime = 1000; HWTEST_F() local 209 int64_t startTime = 1000; HWTEST_F() local 237 int64_t startTime = 1000; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | free_install_observer_manager.cpp | 77 const std::string &abilityName, const std::string &startTime, const int &resultCode) in OnInstallFinished() 79 auto task = [weak = weak_from_this(), recordId, bundleName, abilityName, startTime, resultCode]() { in OnInstallFinished() 86 self->HandleOnInstallFinished(recordId, bundleName, abilityName, startTime, resultCode); in OnInstallFinished() 94 void FreeInstallObserverManager::OnInstallFinishedByUrl(int32_t recordId, const std::string &startTime, in OnInstallFinishedByUrl() argument 97 auto task = [weak = weak_from_this(), recordId, startTime, url, resultCode]() { in OnInstallFinishedByUrl() 104 self->HandleOnInstallFinishedByUrl(recordId, startTime, url, resultCode); in OnInstallFinishedByUrl() 113 const std::string &abilityName, const std::string &startTime, const int &resultCode) in HandleOnInstallFinished() 118 (iter->second)->OnInstallFinished(bundleName, abilityName, startTime, resultCode); in HandleOnInstallFinished() 122 void FreeInstallObserverManager::HandleOnInstallFinishedByUrl(int32_t recordId, const std::string &startTime, in HandleOnInstallFinishedByUrl() argument 128 (iter->second)->OnInstallFinishedByUrl(startTime, ur in HandleOnInstallFinishedByUrl() 76 OnInstallFinished(int32_t recordId, const std::string &bundleName, const std::string &abilityName, const std::string &startTime, const int &resultCode) OnInstallFinished() argument 112 HandleOnInstallFinished(int32_t recordId, const std::string &bundleName, const std::string &abilityName, const std::string &startTime, const int &resultCode) HandleOnInstallFinished() argument [all...] |
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | avmuxer_demo_runner.cpp | 32 time_t startTime = 0; in RunLoopNativeMuxer() local 34 (void)time(&startTime); in RunLoopNativeMuxer() 36 while (difftime(curTime, startTime) < RUN_TIME) { in RunLoopNativeMuxer() 77 time_t startTime = 0; in RunLoopEngineMuxer() local 79 (void)time(&startTime); in RunLoopEngineMuxer() 81 while (difftime(curTime, startTime) < RUN_TIME) { in RunLoopEngineMuxer()
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | hal_tick.cpp | 48 uint32_t HALTick::GetElapseTime(uint32_t startTime) in GetElapseTime() argument 53 if (currentTime > startTime) { in GetElapseTime() 54 elapseTime = currentTime - startTime; in GetElapseTime() 56 elapseTime = (UINT32_MAX - startTime) + currentTime + 1; in GetElapseTime()
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/ |
H A D | InnerStablityTest.cpp | 343 time_t startTime = time(nullptr); in HWTEST_F() local 344 ASSERT_NE(startTime, -1); in HWTEST_F() 345 time_t curTime = startTime; in HWTEST_F() 347 while (difftime(curTime, startTime) < RUN_TIME) in HWTEST_F() 349 cout << "run time: " << difftime(curTime, startTime) << " seconds" << endl; in HWTEST_F() 374 time_t startTime = time(nullptr); in HWTEST_F() local 375 ASSERT_NE(startTime, -1); in HWTEST_F() 376 time_t curTime = startTime; in HWTEST_F() 378 while (difftime(curTime, startTime) < RUN_TIME) in HWTEST_F() 380 cout << "run time: " << difftime(curTime, startTime) << " second in HWTEST_F() 406 time_t startTime = time(nullptr); HWTEST_F() local 437 time_t startTime = time(nullptr); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | free_install_manager.h | 143 * @param startTime, the start time of the task. 148 const std::string& startTime, FreeInstallInfo& taskInfo); 164 * @param startTime, the start time of the task. 168 const std::string& startTime, bool scbCallStatus); 175 * @param startTime, the start time of the task. 179 const std::string& startTime, bool preStartMissionCallStatus); 186 * @param startTime, the start time of the task. 190 const std::string& startTime, const std::string& sessionId); 223 const std::string &startTime); 227 void RemoveTimeoutTask(const std::string &bundleName, const std::string &abilityName, const std::string &startTime); [all...] |
H A D | free_install_observer_manager.h | 38 const std::string &startTime, const int &resultCode); 40 void OnInstallFinishedByUrl(int32_t recordId, const std::string &startTime, const std::string &url, 47 const std::string &startTime, const int &resultCode); 49 void HandleOnInstallFinishedByUrl(int32_t recordId, const std::string &startTime, const std::string &url,
|
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/ |
H A D | free_install_observer_manager_test.cpp | 81 const std::string &startTime, const int &resultCode) override {}; 83 void OnInstallFinishedByUrl(const std::string &startTime, const std::string &url, 178 std::string startTime = "2024-07-17 00:00:00"; in HWTEST_F() local 179 freeInstallObserverManager_->OnInstallFinished(0, bundleName, abilityName, startTime, 0); in HWTEST_F() 194 std::string startTime = "2024-07-17 00:00:00"; in HWTEST_F() local 195 freeInstallObserverManager_->OnInstallFinishedByUrl(0, startTime, url, 0); in HWTEST_F() 211 std::string startTime = "2024-07-17 00:00:00"; in HWTEST_F() local 214 freeInstallObserverManager_->HandleOnInstallFinished(0, bundleName, abilityName, startTime, 0); in HWTEST_F() 229 std::string startTime = "2024-07-17 00:00:00"; in HWTEST_F() local 232 freeInstallObserverManager_->HandleOnInstallFinishedByUrl(0, startTime, ur in HWTEST_F() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_report.cpp | 59 void FormReport::SetStartAquireTime(int64_t formId, int64_t startTime) in SetStartAquireTime() argument 64 formStatisticMap_[formId].startAquireTime_ = startTime; in SetStartAquireTime() 68 tmp.startAquireTime_ = startTime; in SetStartAquireTime() 89 void FormReport::SetStartBindTime(int64_t formId, int64_t startTime) in SetStartBindTime() argument 94 formStatisticMap_[formId].startBindTime_ = startTime; in SetStartBindTime() 98 tmp.startBindTime_ = startTime; in SetStartBindTime() 112 void FormReport::SetStartGetTime(int64_t formId, int64_t startTime) in SetStartGetTime() argument 117 formStatisticMap_[formId].startGetTime_ = startTime; in SetStartGetTime() 121 tmp.startGetTime_ = startTime; in SetStartGetTime() 135 void FormReport::SetDurationStartTime(int64_t formId, int64_t startTime) in SetDurationStartTime() argument [all...] |
/foundation/ability/form_fwk/services/include/ |
H A D | form_report.h | 55 void SetStartAquireTime(int64_t formId, int64_t startTime); 58 void SetStartBindTime(int64_t formId, int64_t startTime); 60 void SetStartGetTime(int64_t formId, int64_t startTime); 62 void SetDurationStartTime(int64_t formId, int64_t startTime);
|