/developtools/profiler/timestamps/ |
H A D | timestamps.cpp | 43 for (auto& time : times) { in main() 44 clock_gettime(time.clockId, &time.ts); in main() 47 for (auto& time : times) { in main() 48 printf("%-25s: %10lld.%09ld\n", time.name.c_str(), in main() 49 static_cast<long long>(time.ts.tv_sec), time.ts.tv_nsec); in main()
|
/developtools/integration_verification/tools/fotff/pkg/dayu200/ |
H A D | flash.go | 28 "time" 42 time.Sleep(20 * time.Second) // usually, it takes about 20s to reboot into OpenHarmony 47 time.Sleep(10 * time.Second) // wait 10s more to ensure system has been started completely 59 time.Sleep(5 * time.Second) 70 time.Sleep(5 * time.Second) 79 time [all...] |
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/testcases/ |
H A D | test_camera.py | 2 import time namespace 21 time.sleep(2) 26 time.sleep(2) 31 time.sleep(5) 36 time.sleep(3) 41 time.sleep(5)
|
H A D | test_note.py | 3 import time namespace 20 time.sleep(4) 24 time.sleep(2) 26 time.sleep(3) 29 time.sleep(3)
|
H A D | test_settings_wifi.py | 3 import time namespace 28 time.sleep(2) 34 time.sleep(5)
|
/developtools/integration_verification/tools/fotff/utils/ |
H A D | hdc.go | 9 "time" 24 ctx, cancelFn := context.WithTimeout(ctx, 20*time.Second) 33 time.Sleep(time.Second) 35 time.Sleep(time.Second) 60 defer time.Sleep(5 * time.Second)
|
H A D | exec.go | 26 "time" 30 ctx, fn := context.WithTimeout(ctx, 6*time.Hour) 57 fmt.Printf("[%s] exec %s :\n", time.Now(), cmdStr) 64 ctx, fn := context.WithTimeout(ctx, 6*time.Hour) 81 fmt.Printf("[%s] exec %s :\n", time.Now(), cmdStr) 85 func SleepContext(duration time.Duration, ctx context.Context) { 87 case <-time.NewTimer(duration).C:
|
/developtools/profiler/device/base/src/ |
H A D | schedule_task_manager.cpp | 30 constexpr int32_t FIRST_TIME = 10; // The start time of the first task is 10 nanoseconds. 73 struct itimerspec time; in ScheduleTask() local 79 time.it_value.tv_sec = interval / TIME_BASE; in ScheduleTask() 80 time.it_value.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask() 81 time.it_interval.tv_sec = 0; in ScheduleTask() 82 time.it_interval.tv_nsec = 0; in ScheduleTask() 85 time.it_value.tv_sec = 0; in ScheduleTask() 86 time.it_value.tv_nsec = FIRST_TIME; in ScheduleTask() 87 time.it_interval.tv_sec = interval / TIME_BASE; in ScheduleTask() 88 time in ScheduleTask() [all...] |
/developtools/profiler/host/smartperf/client/client_command/ |
H A D | parse_radar.cpp | 33 double time = -1; in ParseRadarStart() local 35 time = std::stod(ExtractString(string, target)); in ParseRadarStart() 36 return time; in ParseRadarStart() 40 double time = -1; in ParseRadarStartResponse() local 42 time = std::stod(ExtractString(string, target)); in ParseRadarStartResponse() 43 return time; in ParseRadarStartResponse() 70 double time = -1; in ParseRadarResponse() local 71 time = ParseRadarDelayTime(string, targetResponse, delayTimeResponse); in ParseRadarResponse() 72 return time; in ParseRadarResponse() 112 double time in ParseRadarComplete() local [all...] |
/developtools/profiler/device/cmds/test/unittest/ |
H A D | hiprofiler_cmd_test.cpp | 217 std::string CreateCommand(const std::string &outFile, int time) const in CreateCommand() 223 cmdStr += "-t " + std::to_string(time) + " \\\n"; in CreateCommand() 260 std::string CreateHiperfCommand(const std::string &outFile, int time) const in CreateHiperfCommand() 266 cmdStr += "-t " + std::to_string(time) + " \\\n"; in CreateHiperfCommand() 291 std::string CreateEncoderCommand(const std::string &outFile, int time) const in CreateEncoderCommand() 298 cmdStr += "-t " + std::to_string(time) + " \\\n" in CreateEncoderCommand() 333 std::string CreateSplitHtraceCommand(const std::string &outFile, int time) const in CreateSplitHtraceCommand() 339 cmdStr += "-t " + std::to_string(time) + " \\\n" in CreateSplitHtraceCommand() 372 const std::string &perfSplitFile, int time) const in CreateSplitHiperfCommand() 378 cmdStr += "-t " + std::to_string(time) in CreateSplitHiperfCommand() 561 int time = 3; HWTEST_F() local 638 int time = 3; HWTEST_F() local 666 const int time = 20; HWTEST_F() local 714 int time = 10; HWTEST_F() local 738 int time = 10; HWTEST_F() local 764 int time = 10; HWTEST_F() local 798 int time = 10; HWTEST_F() local [all...] |
/developtools/integration_verification/DeployDevice/resource/common/ |
H A D | portalocker.py | 3 import time namespace 33 start_time = time.time() 50 if (time.time() - start_time) >= self.timeout: 52 time.sleep(self.delay)
|
/developtools/integration_verification/DeployDevice/src/util/ |
H A D | file_locker.py | 4 import time namespace 34 start_time = time.time() 51 if (time.time() - start_time) >= self.timeout: 53 time.sleep(self.delay)
|
H A D | time_info.py | 16 import time namespace 23 return time.time() 26 st = time.localtime(time_stamp) 27 result = time.strftime("%Y-%m-%d %H:%M:%S", st) 31 st = time.strptime(timeinfo, "%Y-%m-%d %H:%M:%S") 32 return time.mktime(st)
|
/developtools/integration_verification/tools/fotff/pkg/mock/ |
H A D | mock.go | 23 "time" 51 time.Sleep(time.Duration(m.pkgCount) * time.Second) 58 time.Sleep(time.Second)
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
H A D | ZipEntry.java | 204 // java time stamp to dos timestamp, dos time start 1980 in build() 205 int time = (calendar.get(Calendar.YEAR) - 1980) << 25 | (calendar.get(Calendar.MONTH) + 1) << 21 in build() 208 CentralDirectory cd = addCenterDirectory(time); in build() 209 ZipEntryHeader zipEntryHeader = addZipEntryHeader(time); in build() 229 private CentralDirectory addCenterDirectory(int time) { in addCenterDirectory() argument 235 cd.setLastTime((short) time); in addCenterDirectory() 236 cd.setLastDate((short) (time >> 16)); in addCenterDirectory() 260 private ZipEntryHeader addZipEntryHeader(int time) { in addZipEntryHeader() argument 265 zipEntryHeader.setLastTime((short) time); in addZipEntryHeader() [all...] |
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/ |
H A D | hap_cert_verify_openssl_utils_test.cpp | 98 ASN1_TYPE* time = ASN1_TYPE_new(); in HWTEST_F() local 99 ASSERT_TRUE(time != nullptr); in HWTEST_F() 100 ASN1_TYPE_set(time, V_ASN1_UTCTIME, asnString); in HWTEST_F() 101 ASSERT_FALSE(VerifyCertOpensslUtils::VerifyCertChainPeriodOfValidity(certsChain, time)); in HWTEST_F() 109 ASSERT_FALSE(VerifyCertOpensslUtils::VerifyCertChainPeriodOfValidity(certsChain, time)); in HWTEST_F() 110 ASN1_TYPE_free(time); in HWTEST_F()
|
/developtools/profiler/device/plugins/bytrace_plugin/src/ |
H A D | bytrace_module.cpp | 39 uint32_t time; member 51 g_bytraceInfo->time = config.time(); in ParseConfig() 74 // two case: real-time and offline type. in BeginTrace() 86 // real-time: time is set 0. in BeginTrace() 87 if (g_bytraceInfo->time == 0) { in BeginTrace() 88 // if time is not set 1s(must >= 1), bytrace tool will use 5s by default. in BeginTrace() 92 beginCmd += " -t " + std::to_string(g_bytraceInfo->time); in BeginTrace() 136 // real-time typ in BytracePluginSessionStop() [all...] |
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/ |
H A D | pbreader_clock_detail_parser.cpp | 58 ProtoReader::ClockDetailMsg_TimeSpec_Reader time(clockInfo.time()); in Parse() 59 TS_LOGI("clockid:%d, ts:%llu", id, static_cast<unsigned long long>(time.tv_nsec() + time.tv_sec() * SEC_TO_NS)); in Parse() 60 snapShot.push_back(SnapShot{static_cast<ClockId>(id), time.tv_nsec() + time.tv_sec() * SEC_TO_NS}); in Parse()
|
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/ |
H A D | liteOsUpgrade_RK3568_app.py | 7 import time namespace 154 # time.sleep(3) 164 # time.sleep(5) 177 # time.sleep(5) 184 time.sleep(50) 196 # time.sleep(10) 204 # time.sleep(40) 224 time.sleep(time_sleep) 283 # time.sleep(5) 286 time [all...] |
H A D | liteOsUpgrade_L2_app.py | 293 time.sleep(10) 304 time.sleep(60) 336 time.sleep(180) 340 time.sleep(10) 342 time.sleep(5) 344 time.sleep(5) 346 time.sleep(5) 350 # time.sleep(10) 352 # time.sleep(5) 354 # time [all...] |
/developtools/integration_verification/tools/fotff/rec/ |
H A D | fotff_test.go | 31 "time" 42 rand.Seed(time.Now().UnixNano()) 73 time.Sleep(time.Duration(rand.Intn(1)) * time.Millisecond) 83 time.Sleep(time.Duration(rand.Intn(1)) * time.Millisecond) 114 time.Sleep(time [all...] |
/developtools/hdc/scripts/ |
H A D | hdc_normal_test.py | 22 import time namespace 227 time.sleep(3) 229 start_time = time.time() 231 end_time = time.time() 232 print(f"command exec time {end_time - start_time}") 266 time.sleep(5) 268 time.sleep(5) 357 time [all...] |
/developtools/integration_verification/DeployDevice/src/core/ |
H A D | run.py | 13 import time namespace 59 time.sleep(5) 71 # time.sleep(40) 159 time.sleep(3) 174 time.sleep(5) 177 time.sleep(10
|
/developtools/integration_verification/cases/daily/mini_system/ |
H A D | L0_mini_system_test.py | 19 import time namespace 45 time = datetime.datetime.now() 46 str = "[{}] {}".format(time, str) 105 time.sleep(1) 109 time.sleep(3)
|
/developtools/hiperf/include/ |
H A D | perf_record_format.h | 34 u64 time = 0; /* if PERF_SAMPLE_TIME set */ member 166 u64 time = 0; /* if PERF_SAMPLE_TIME */ member 207 u64 time = 0; member 217 u64 time = 0; member 233 u64 time = 0; member
|