Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 229) sorted by relevance

12345678910

/developtools/integration_verification/tools/fotff/pkg/dayu200/
Dflash.go42 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.Sleep(3 * time.Second)
87 time.Sleep(5 * time.Second)
95 time.Sleep(5 * time.Second)
118 time.Sleep(3 * time.Second)
120 time.Sleep(5 * time.Second) // sleep a while for writing
/developtools/profiler/timestamps/
Dtimestamps.cpp43 for (auto& time : times) { in main() local
44 clock_gettime(time.clockId, &time.ts); in main()
47 for (auto& time : times) { in main() local
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/profiler/host/smartperf/client/client_command/
Dparse_radar.cpp31 double time = -1; in ParseRadarStart() local
33 time = std::stod(extract_string(str, target)); in ParseRadarStart()
34 return time; in ParseRadarStart()
38 double time = -1; in ParseRadarStartResponse() local
40 time = std::stod(extract_string(string, target)); in ParseRadarStartResponse()
41 return time; in ParseRadarStartResponse()
57 double time = -1; in ParseRadarResponse() local
59 time = std::stod(extract_string(string, target)); in ParseRadarResponse()
60 return time; in ParseRadarResponse()
64 double time = -1; in ParseRadarComplete() local
[all …]
Dcontrol_call_cmd.cpp43 time = SmartPerf::ControlCallCmd::ColdStart(v); in GetResult()
45 time = SmartPerf::ControlCallCmd::HotStart(v); in GetResult()
47 time = SmartPerf::ControlCallCmd::ResponseTime(); in GetResult()
49 time = SmartPerf::ControlCallCmd::CompleteTime(); in GetResult()
51 time = SmartPerf::ControlCallCmd::StartResponse(v); in GetResult()
53 time = SmartPerf::ControlCallCmd::ColdStartHM(v); in GetResult()
71 if (time == noNameType) { in GetResult()
74 if (time != 0) { in GetResult()
75 stream << time; in GetResult()
122 time = pcrt.ParseResponseTrace(traceName); in SlideList()
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DTimeUtils.ts21 export function dateFormat(time?: number, format: string='Y-m-d h:i:s') {
22 const t = new Date(time)
54 export function secToTime(time: number): String {
59 if (time <= 0) {
62 minute = parseInt((time / 60).toString())
64 second = time % 60
69 second = time - hour * 3600 - minute * 60
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts71 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct) => {
73 limitsMap.get(id)!.time += time;
78 limit.time = time;
98 item.timeStr = Utils.getProbablyTime(item.time);
129 return cpuFreqLimitA.time - cpuFreqLimitB.time;
131 return cpuFreqLimitB.time - cpuFreqLimitA.time;
192 time: number = 0; property in CpuFreqLimit
/developtools/integration_verification/tools/fotff/utils/
Dhdc.go24 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)
Dexec.go30 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/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DTabPaneFlag.ts47 if (data.startTime === flag.time) {
53 this.systemTrace?.timerShaftEL!.sportRuler!.drawTriangle(flag.time, flag.type);
78 let findFlag = this.flagList.find((it) => it.time === flag.time);
94 return a.time - b.time;
106 let flagData = new MarkStruct(btn, color, text, getTimeString(flag.time), flag.time);
108 this.systemTrace?.timerShaftEL!.sportRuler!.drawTriangle(flag.time, flag.type);
120 if (data.time === this.flag?.time) {
153 if (this.tableDataSource[i].startTime === this.flagList[i - 1].time) {
168 if (this.tableDataSource[i].startTime === this.flagList[i - 1].time) {
179 … if (this.tableDataSource[i].startTime === this.flagList[i - 1].time && event.keyCode === '13') {
[all …]
DFlag.ts21 time: number = 0; property in Flag
33 time: number,
43 this.time = time;
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hilog/
DTabPaneHilogSummary.test.ts41 time: 0,
53 time: 0,
65 time: 0,
77 time: 0,
89 time: 0,
101 time: 0,
DTabPaneHilogs.test.ts80 time: 0,
92 time: 0,
104 time: 0,
116 time: 0,
128 time: 0,
140 time: 0,
/developtools/smartperf_host/trace_streamer/doc/
Dtimes.md12 - boot time  与monotonic时间相同,不过会累加上系统休眠的时间,它代表着系统上电后的总时间。
13 - monotonic time  该时间自系统开机后就一直单调地增加,它不像xtime可以因用户的调整时间而产生跳变,不过该时间不计算系统休眠的时间,也就是说,系统休眠时,monotoic时间不会…
14 - raw monotonic time  该时间与monotonic时间类似,也是单调递增的时间,唯一的不同是:raw monotonic time“更纯净”,他不会受到NTP时间调整的影响,它代…
/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp218 std::string CreateCommand(const std::string &outFile, int time) const in CreateCommand()
224 cmdStr += "-t " + std::to_string(time) + " \\\n"; in CreateCommand()
261 std::string CreateHiperfCommand(const std::string &outFile, int time) const in CreateHiperfCommand()
267 cmdStr += "-t " + std::to_string(time) + " \\\n"; in CreateHiperfCommand()
292 std::string CreateEncoderCommand(const std::string &outFile, int time) const in CreateEncoderCommand()
299 cmdStr += "-t " + std::to_string(time) + " \\\n" in CreateEncoderCommand()
334 std::string CreateSplitHtraceCommand(const std::string &outFile, int time) const in CreateSplitHtraceCommand()
340 cmdStr += "-t " + std::to_string(time) + " \\\n" in CreateSplitHtraceCommand()
372 …ateSplitArktsCommand(const std::string &outFile, const std::string &arktsSplitFile, int time) const in CreateSplitArktsCommand()
378 cmdStr += "-t " + std::to_string(time) + " \\\n" in CreateSplitArktsCommand()
[all …]
/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp72 struct itimerspec time; in ScheduleTask() local
78 time.it_value.tv_sec = interval / TIME_BASE; in ScheduleTask()
79 time.it_value.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask()
80 time.it_interval.tv_sec = 0; in ScheduleTask()
81 time.it_interval.tv_nsec = 0; in ScheduleTask()
84 time.it_value.tv_sec = 0; in ScheduleTask()
85 time.it_value.tv_nsec = FIRST_TIME; in ScheduleTask()
86 time.it_interval.tv_sec = interval / TIME_BASE; in ScheduleTask()
87 time.it_interval.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask()
91 int32_t ret = timerfd_settime(timerFd, 0, &time, NULL); in ScheduleTask()
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerEBPF.ts224 let time: Array<{ time: number; type: number }> = [];
226 time.push({ time: item.startNS, type: 1 });
227 time.push({ time: item.endNS || totalNS, type: -1 });
229 time = time.sort((a, b) => a.time - b.time);
232 startNS: time[0].time ?? 0,
240 for (let i = 1, len = time.length; i < len; i++) {
242 startNS: time[i].time,
252 heap.size = arr[i - 1].size + time[i].type;
/developtools/integration_verification/DeployDevice/resource/common/
Dportalocker.py3 import time
33 start_time = time.time()
50 if (time.time() - start_time) >= self.timeout:
52 time.sleep(self.delay)
/developtools/integration_verification/DeployDevice/src/util/
Dfile_locker.py4 import time
34 start_time = time.time()
51 if (time.time() - start_time) >= self.timeout:
53 time.sleep(self.delay)
Dtime_info.py16 import time
22 return time.time()
25 st = time.localtime(time_stamp)
26 result = time.strftime("%Y-%m-%d %H:%M:%S", st)
30 st = time.strptime(timeinfo, "%Y-%m-%d %H:%M:%S")
31 return time.mktime(st)
/developtools/integration_verification/tools/fotff/pkg/mock/
Dmock.go51 time.Sleep(time.Duration(m.pkgCount) * time.Second)
58 time.Sleep(time.Second)
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dget_newer_dir.go30 time.Sleep(10 * time.Second)
43 time.Sleep(10 * time.Second)
/developtools/integration_verification/tools/fotff/rec/
Dfotff_test.go42 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.Duration(rand.Intn(1)) * time.Millisecond)
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpCpuChart.ts126 let time = new Date().getTime();
129 let durTime = new Date().getTime() - time;
134 let time = new Date().getTime();
146 let durTime = new Date().getTime() - time;
158 let time = new Date().getTime();
161 let durTime = new Date().getTime() - time;
166 let time = new Date().getTime();
169 let durTime = new Date().getTime() - time;
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dcommon.py17 import time
76 …return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())+' %(name)-50s: %(error)-50s\n'%{'name'…
95 return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dcommon.py17 import time
76 …return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())+' %(name)-50s: %(error)-50s\n'%{'name'…
95 return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())

12345678910