/developtools/integration_verification/tools/fotff/pkg/dayu200/ |
D | flash.go | 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.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/ |
D | timestamps.cpp | 43 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_ui/entry/src/main/ets/common/utils/ |
D | TimeUtils.ts | 21 export function dateFormat(time?: number, format: string = 'Y-m-d h:i:s'): string { 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/profiler/host/smartperf/client/client_command/ |
D | parse_radar.cpp | 32 double time = -1; in ParseRadarStart() local 34 time = std::stod(ExtractString(string, target)); in ParseRadarStart() 35 return time; in ParseRadarStart() 39 double time = -1; in ParseRadarStartResponse() local 41 time = std::stod(ExtractString(string, target)); in ParseRadarStartResponse() 42 return time; in ParseRadarStartResponse() 65 double time = -1; in ParseRadarResponse() local 67 time = std::stod(ExtractString(string, target)); in ParseRadarResponse() 68 return time; in ParseRadarResponse() 72 double time = -1; in ParseRadarComplete() local [all …]
|
/developtools/integration_verification/tools/fotff/utils/ |
D | hdc.go | 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)
|
D | exec.go | 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/smartperf_host/ide/src/trace/component/trace/sheet/freq/ |
D | TabPaneCpuFreqLimits.ts | 76 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct): void => { 78 limitsMap.get(id)!.time += time; 83 limit.time = time; 103 item.timeStr = Utils.getProbablyTime(item.time); 135 return cpuFreqLimitA.time - cpuFreqLimitB.time; 138 return cpuFreqLimitB.time - cpuFreqLimitA.time; 203 time: number = 0; property in CpuFreqLimit
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hilog/ |
D | TabPaneHilogSummary.test.ts | 41 time: 0, 53 time: 0, 65 time: 0, 77 time: 0, 89 time: 0, 101 time: 0,
|
D | TabPaneHilogs.test.ts | 84 time: 0, 96 time: 0, 108 time: 0, 120 time: 0, 132 time: 0, 144 time: 0,
|
/developtools/smartperf_host/trace_streamer/doc/ |
D | times.md | 12 - boot time 与monotonic时间相同,不过会累加上系统休眠的时间,它代表着系统上电后的总时间。 13 - monotonic time 该时间自系统开机后就一直单调地增加,它不像xtime可以因用户的调整时间而产生跳变,不过该时间不计算系统休眠的时间,也就是说,系统休眠时,monotoic时间不会… 14 - raw monotonic time 该时间与monotonic时间类似,也是单调递增的时间,唯一的不同是:raw monotonic time“更纯净”,他不会受到NTP时间调整的影响,它代…
|
/developtools/profiler/device/cmds/test/unittest/ |
D | hiprofiler_cmd_test.cpp | 218 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/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
D | TabPaneFlag.ts | 48 if (data.startTime === flag.time) { 54 this.systemTrace?.timerShaftEL!.sportRuler!.drawTriangle(flag.time, flag.type); 80 let findFlag = this.flagList.find((it) => it.time === flag.time); 96 return a.time - b.time; 108 let flagData = new MarkStruct(btn, color, text, getTimeString(flag.time), flag.time); 110 this.systemTrace?.timerShaftEL!.sportRuler!.drawTriangle(flag.time, flag.type); 123 if (data.time === this.flag?.time) { 169 if (this.tableDataSource[index].startTime === this.flagList[index - 1].time) { 184 …if (this.tableDataSource[index].startTime === this.flagList[index - 1].time && event.keyCode === '… 204 if (this.tableDataSource[index].startTime === this.flagList[index - 1].time) { [all …]
|
D | Flag.ts | 21 time: number = 0; property in Flag 33 time: number, 43 this.time = time;
|
/developtools/profiler/device/base/src/ |
D | schedule_task_manager.cpp | 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.it_interval.tv_nsec = (interval % TIME_BASE) * TIME_BASE * TIME_BASE; in ScheduleTask() 92 int32_t ret = timerfd_settime(timerFd, 0, &time, NULL); in ScheduleTask()
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerEBPF.ts | 225 let time: Array<{ time: number; type: number }> = []; 227 time.push({ time: item.startNS!, type: 1 }); 228 time.push({ time: item.endNS || totalNS, type: -1 }); 230 time = time.sort((a, b) => a.time - b.time); 239 startNS: time[0].time ?? 0, 247 for (let i = 1, len = time.length; i < len; i++) { 249 startNS: time[i].time, 259 heap.size = arr[i - 1].size + time[i].type;
|
/developtools/integration_verification/DeployDevice/src/util/ |
D | file_locker.py | 4 import time 34 start_time = time.time() 51 if (time.time() - start_time) >= self.timeout: 53 time.sleep(self.delay)
|
D | time_info.py | 16 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/DeployDevice/resource/common/ |
D | portalocker.py | 3 import time 33 start_time = time.time() 50 if (time.time() - start_time) >= self.timeout: 52 time.sleep(self.delay)
|
/developtools/integration_verification/tools/fotff/pkg/mock/ |
D | mock.go | 51 time.Sleep(time.Duration(m.pkgCount) * time.Second) 58 time.Sleep(time.Second)
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
D | get_newer_dir.go | 30 time.Sleep(10 * time.Second) 43 time.Sleep(10 * time.Second)
|
/developtools/integration_verification/tools/fotff/rec/ |
D | fotff_test.go | 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.Duration(rand.Intn(1)) * time.Millisecond)
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpCpuChart.ts | 133 let time = new Date().getTime(); 136 let durTime = new Date().getTime() - time; 141 let time = new Date().getTime(); 154 let durTime = new Date().getTime() - time; 167 let time = new Date().getTime(); 170 let durTime = new Date().getTime() - time; 175 let time = new Date().getTime(); 178 let durTime = new Date().getTime() - time;
|
/developtools/hdc/scripts/ |
D | dev_hdc_test.py | 40 import time 249 start_time = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())) 253 timestamp = time.time() 263 end_time = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())) 264 report_time = time.strftime('%Y-%m-%d_%H_%M_%S',time.localtime(time.time())) 473 time.sleep(3) 492 time.sleep(3) 649 time.sleep(wait_time) 656 time.sleep(wait_time) 660 time.sleep(wait_time) [all …]
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/ |
D | common.py | 17 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/ |
D | common.py | 17 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())
|