Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 96) sorted by relevance

1234

/developtools/smartperf_host/ide/src/log/
DLog.ts55 private static now(): string { method in SpLog
56 const now = new Date(); constant
57 …const timeString = `${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}:${now.getMillisecond…
65 console.error(message, ...optionalParams, this.now());
68 console.warn(message, ...optionalParams, this.now());
71 console.info(message, ...optionalParams, this.now());
74 console.debug(message, ...optionalParams, this.now());
77 console.trace(message, ...optionalParams, this.now());
80 console.log(message, this.now());
/developtools/hiperf/test/unittest/common/native/
Dsubcommand_report_test.cpp194 const auto startTime = chrono::steady_clock::now();
197 chrono::steady_clock::now() - startTime);
217 const auto startTime = chrono::steady_clock::now();
220 chrono::steady_clock::now() - startTime);
241 const auto startTime = chrono::steady_clock::now();
244 chrono::steady_clock::now() - startTime);
264 const auto startTime = chrono::steady_clock::now();
269 chrono::steady_clock::now() - startTime);
290 const auto startTime = chrono::steady_clock::now();
296 chrono::steady_clock::now() - startTime);
[all …]
Dsubcommand_stat_test.cpp231 const auto startTime = chrono::steady_clock::now();
234 chrono::steady_clock::now() - startTime);
257 const auto startTime = chrono::steady_clock::now();
260 chrono::steady_clock::now() - startTime);
284 const auto startTime = chrono::steady_clock::now();
287 chrono::steady_clock::now() - startTime);
310 const auto startTime = chrono::steady_clock::now();
313 chrono::steady_clock::now() - startTime);
336 const auto startTime = chrono::steady_clock::now();
339 chrono::steady_clock::now() - startTime);
[all …]
/developtools/integration_verification/DeployDevice/src/util/
Dtime_info.py34 now = datetime.datetime.now()
35 time_str = now.strftime("%Y-%m-%d %H:%M:%S")
36 microsecond = now.microsecond
41 now = datetime.datetime.now()
42 time_str = now.strftime("%Y-%m-%d %H:%M:%S")
/developtools/smartperf_host/trace_streamer/doc/
Dframes.md23 expect: 开始时间为应用帧H:ReceiveVsync事件中now字段指定的时间, 结束时间为end字段指定的时间。
24 … 需要注意这里的now和end指定的时间并非boottime,需要经过时钟同步后使用。 在文本格式的数据中无时钟源信息,所以无法进行时钟同步。进而导致文本和htrace解析结果不一致。
27 expect: 开始时间为渲染帧H:ReceiveVsync事件中now字段指定的时间, 结束时间为end字段指定的时间。
28 … 需要注意这里的now和end指定的时间并非boottime,需要经过时钟同步后使用。 在文本格式的数据中无时钟源信息,所以无法进行时钟同步。进而导致文本和htrace解析结果不一致。
/developtools/profiler/device/plugins/native_daemon/src/
Ddebug_logger.cpp30 DebugLogger::DebugLogger() : timeStamp_(steady_clock::now()), logPath_(DEFAULT_LOG_PATH) in DebugLogger()
85 const auto startSprintf = steady_clock::now(); in Log()
87 const auto startTime = steady_clock::now(); in Log()
90 logTimes_ += duration_cast<microseconds>(steady_clock::now() - startSprintf); in Log()
102 logSprintfTimes_ += duration_cast<microseconds>(steady_clock::now() - startSprintf); in Log()
116 const auto startWriteTime = steady_clock::now(); in Log()
121 logWriteTimes_ += duration_cast<microseconds>(steady_clock::now() - startWriteTime); in Log()
126 logTimes_ += duration_cast<microseconds>(steady_clock::now() - startTime); in Log()
/developtools/hiperf/src/
Ddebug_logger.cpp30 DebugLogger::DebugLogger() : timeStamp_(steady_clock::now()), logPath_(DEFAULT_LOG_PATH) in DebugLogger()
85 const auto startSprintf = steady_clock::now(); in Log()
87 const auto startTime = steady_clock::now(); in Log()
90 logTimes_ += duration_cast<microseconds>(steady_clock::now() - startSprintf); in Log()
102 logSprintfTimes_ += duration_cast<microseconds>(steady_clock::now() - startSprintf); in Log()
116 const auto startWriteTime = steady_clock::now(); in Log()
121 logWriteTimes_ += duration_cast<microseconds>(steady_clock::now() - startWriteTime); in Log()
126 logTimes_ += duration_cast<microseconds>(steady_clock::now() - startTime); in Log()
Dsymbols_file.cpp430 const auto startTime = steady_clock::now(); in LoadElfSymbols()
471 auto usedTime = duration_cast<microseconds>(steady_clock::now() - startTime); in LoadElfSymbols()
527 const auto startTime = steady_clock::now(); in ParseKallsymsLine()
535 const auto eachFileStartTime = steady_clock::now(); in ParseKallsymsLine()
544 readFileTime += duration_cast<milliseconds>(steady_clock::now() - eachFileStartTime); in ParseKallsymsLine()
561 const auto eachLineStartTime = steady_clock::now(); in ParseKallsymsLine()
574 sscanfTime += duration_cast<milliseconds>(steady_clock::now() - eachLineStartTime); in ParseKallsymsLine()
604 const auto eachNewSymbolTime = steady_clock::now(); in ParseKallsymsLine()
609 newTime += duration_cast<milliseconds>(steady_clock::now() - eachNewSymbolTime); in ParseKallsymsLine()
613 parseLineTime += duration_cast<milliseconds>(steady_clock::now() - eachLineStartTime); in ParseKallsymsLine()
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets26 var now = new Date();
27 return new GPData(moduleType, now.getTime(), values);
127 var now = new Date();
128 var exitTime = now.getTime() + numberMillis;
130 now = new Date();
131 if (now.getTime() > exitTime) {
/developtools/profiler/hiebpf/src/
Dhhlog.cpp92 time_t now = (time_t) timer.tv_sec; in GetLogFileName() local
94 tmPtr = localtime(&now); in GetLogFileName()
114 time_t now = (time_t) timer.tv_sec; in GetFormatTime() local
116 tmPtr = localtime(&now); in GetFormatTime()
Dlibbpf_logger.cpp91 time_t now = (time_t) timer.tv_sec; in GetLogFileName() local
93 tmPtr = localtime(&now); in GetLogFileName()
/developtools/hdc/src/common/
Dcircle_buffer.cpp53 data->begin = std::chrono::steady_clock::now(); in Malloc()
64 data->begin = std::chrono::steady_clock::now(); in Malloc()
84 data->begin = std::chrono::steady_clock::now(); in Free()
91 auto end = std::chrono::steady_clock::now(); in FreeMemory()
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_timer_event_formatter.cpp54 msg.now()); in __anonff99d3620502()
58 msg.now()); in __anonff99d3620502()
145 msg.which(), (int)msg.pid(), msg.now()); in __anonff99d3620d02()
195 msg.now()); in __anonff99d3621302()
198 …timer_expire_entry: timer=%p function=%p now=%" PRIu64 "", msg.timer(), msg.function(), msg.now()); in __anonff99d3621302()
248 …msg.timer(), functionStr.c_str(), msg.expires(), msg.expires() - msg.now(), msg.flags() & 0x0003FF… in __anonff99d3621902()
255 … msg.timer(), msg.function(), msg.expires(), msg.expires() - msg.now(), msg.flags() & 0x0003FFFF, in __anonff99d3621902()
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtimer.proto29 int64 now = 2; field
58 uint64 now = 3; field
79 uint64 now = 2; field
98 uint64 now = 4; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dtimer.proto29 int64 now = 2; field
58 uint64 now = 3; field
79 uint64 now = 2; field
98 uint64 now = 4; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dtimer.proto29 int64 now = 2; field
58 uint64 now = 3; field
79 uint64 now = 2; field
98 uint64 now = 4; field
/developtools/profiler/hiebpf/test/
Dhiebpf_test_demo.cpp62 return Clock::now(); in Now()
118 const auto startTime = std::chrono::steady_clock::now(); in ThreadFuncCpp()
123 const auto thisTime = std::chrono::steady_clock::now(); in ThreadFuncCpp()
/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp144 auto now = std::chrono::steady_clock::now(); in LoopFunction() local
145 auto sleepTime = now + seconds(1); in LoopFunction()
147 while (std::chrono::steady_clock::now() < (now + timeOutMS)) { in LoopFunction()
149 if (std::chrono::steady_clock::now() >= sleepTime) { in LoopFunction()
150 sleepTime = std::chrono::steady_clock::now() + seconds(1); in LoopFunction()
/developtools/smartperf_host/ide/server/
Dmain.go199 var now = time.Now()
200 var fileName = fmt.Sprintf("%d-%d-%d", now.Year(), now.Month(), now.Day())
210 …dst.WriteString(fmt.Sprintf("%s %s (%s M)\n", now.Format("2006-01-02 15:04:05"), req.FileName, req…
291 now := time.Now()
302 sub := now.Sub(parseTime)
311 fmt.Println(now, "delete->", path, d.Name(), err)
/developtools/integration_verification/cases/daily/mini_system/
DL0_mini_system_test.py45 time = datetime.datetime.now()
65 time_start = datetime.datetime.now()
76 time_end = datetime.datetime.now()
/developtools/profiler/device/plugins/ffrt_profiler/client/src/
Dffrt_profiler_write.cpp39 lastFlushTime_ = std::chrono::steady_clock::now(); in FfrtProfilerWriter()
102 lastFlushTime_ = std::chrono::steady_clock::now(); in Flush()
/developtools/profiler/device/plugins/network_profiler/client/src/
Dnetwork_profiler_write.cpp39 lastFlushTime_ = std::chrono::steady_clock::now(); in NetworkProfilerWriter()
102 lastFlushTime_ = std::chrono::steady_clock::now(); in Flush()
/developtools/profiler/device/plugins/native_hook/src/
Dstack_writer.cpp35 lastFlushTime_ = std::chrono::steady_clock::now(); in StackWriter()
98 lastFlushTime_ = std::chrono::steady_clock::now(); in Flush()
/developtools/profiler/device/plugins/api/src/
Dplugin_module.cpp263 lastTime_ = std::chrono::steady_clock::now(); in ReportResult()
266 std::chrono::steady_clock::time_point t1 = std::chrono::steady_clock::now(); in ReportResult()
283 lastTime_ = std::chrono::steady_clock::now(); in ReportResultOptimize()
286 std::chrono::steady_clock::time_point t1 = std::chrono::steady_clock::now(); in ReportResultOptimize()
/developtools/smartperf_host/ide/src/statistics/util/
DSpStatisticsHttpUtil.ts74 SpStatisticsHttpUtil.timeDiff = SpStatisticsHttpUtil.serverTime - Date.now();
174 return Date.now() + SpStatisticsHttpUtil.timeDiff;

1234