Home
last modified time | relevance | path

Searched refs:time (Results 1 - 25 of 149) sorted by relevance

123456

/developtools/profiler/timestamps/
H A Dtimestamps.cpp43 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 Dflash.go28 "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 Dtest_camera.py2 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 Dtest_note.py3 import time namespace
20 time.sleep(4)
24 time.sleep(2)
26 time.sleep(3)
29 time.sleep(3)
H A Dtest_settings_wifi.py3 import time namespace
28 time.sleep(2)
34 time.sleep(5)
/developtools/integration_verification/tools/fotff/utils/
H A Dhdc.go9 "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 Dexec.go26 "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 Dschedule_task_manager.cpp30 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 Dparse_radar.cpp33 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 Dhiprofiler_cmd_test.cpp217 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 Dportalocker.py3 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 Dfile_locker.py4 import time namespace
34 start_time = time.time()
51 if (time.time() - start_time) >= self.timeout:
53 time.sleep(self.delay)
H A Dtime_info.py16 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 Dmock.go23 "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 DZipEntry.java204 // 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 Dhap_cert_verify_openssl_utils_test.cpp98 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 Dbytrace_module.cpp39 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 Dpbreader_clock_detail_parser.cpp58 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 DliteOsUpgrade_RK3568_app.py7 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 DliteOsUpgrade_L2_app.py293 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 Dfotff_test.go31 "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 Dhdc_normal_test.py22 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 Drun.py13 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 DL0_mini_system_test.py19 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 Dperf_record_format.h34 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

Completed in 12 milliseconds

123456