Home
last modified time | relevance | path

Searched refs:happenTime (Results 1 - 25 of 51) sorted by relevance

123

/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp163 appCaller.happenTime = GetMilliseconds(); in HWTEST_F()
164 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms in HWTEST_F()
165 appCaller.endTime = appCaller.happenTime + 100; // 100: ms in HWTEST_F()
191 appCaller.happenTime = GetMilliseconds(); in HWTEST_F()
192 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms in HWTEST_F()
193 appCaller.endTime = appCaller.happenTime + 100; // 100: ms in HWTEST_F()
225 appCaller1.happenTime = GetMilliseconds(); in HWTEST_F()
226 appCaller1.beginTime = appCaller1.happenTime - 100; in HWTEST_F()
227 appCaller1.endTime = appCaller1.happenTime + 100; in HWTEST_F()
241 appCaller2.happenTime in HWTEST_F()
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dtrace_collector_impl.cpp50 UCollect::TraceCaller &caller, uint32_t timeLimit, uint64_t happenTime) in DumpTraceWithDuration()
53 return StartDumpTrace(caller, INT32_MAX, happenTime); in DumpTraceWithDuration()
55 return StartDumpTrace(caller, static_cast<int32_t>(timeLimit), happenTime); in DumpTraceWithDuration()
64 int32_t timeLimit, uint64_t happenTime) in StartDumpTrace()
84 traceRetInfo = OHOS::HiviewDFX::Hitrace::DumpTrace(0, happenTime); in StartDumpTrace()
86 traceRetInfo = OHOS::HiviewDFX::Hitrace::DumpTrace(timeLimit, happenTime); in StartDumpTrace()
49 DumpTraceWithDuration( UCollect::TraceCaller &caller, uint32_t timeLimit, uint64_t happenTime) DumpTraceWithDuration() argument
63 StartDumpTrace(UCollect::TraceCaller &caller, int32_t timeLimit, uint64_t happenTime) StartDumpTrace() argument
/base/hiviewdfx/hitrace/test/fuzztest/hitracedump_fuzzer/
H A Dhitracedump_fuzzer.cpp53 uint64_t happenTime = 0; in HitraceDumpServiceModeTest() local
55 if (size < sizeof(traceTags) + sizeof(duration) + sizeof(happenTime)) { in HitraceDumpServiceModeTest()
59 StreamToValueInfo(data, happenTime); in HitraceDumpServiceModeTest()
70 (void)DumpTrace(duration, happenTime); in HitraceDumpServiceModeTest()
/base/hiviewdfx/hiview/utility/common_utils/
H A Dtbox.cpp170 int64_t happenTime = HAPPEN_TIME_DEFAULT; in GetHappenTime() local
177 return happenTime; in GetHappenTime()
185 happenTime = mktime(&tmHappenTime); in GetHappenTime()
188 return happenTime; in GetHappenTime()
195 if (difftime(now, happenTime) > offset) { in GetHappenTime()
196 happenTime = timegm(&tmHappenTime); in GetHappenTime()
198 return happenTime; in GetHappenTime()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dbbox_detector_plugin.cpp117 auto happenTime = static_cast<uint64_t>(Tbox::GetHappenTime(StringUtil::GetRleftSubstr(timeStr, "-"), in HandleBBoxEvent() local
119 sysEvent->SetEventValue("HAPPEN_TIME", happenTime); in HandleBBoxEvent()
168 auto happenTime = GetHappenTime(line); in StartBootScan() local
169 int res = CheckAndHiSysEventWrite(name, historyMap, happenTime); in StartBootScan()
177 auto happenTime = hisiHistoryPath_ ? in GetHappenTime() local
183 return happenTime; in GetHappenTime()
187 uint64_t& happenTime) in CheckAndHiSysEventWrite()
194 "HAPPEN_TIME", happenTime, in CheckAndHiSysEventWrite()
200 CheckAndHiSysEventWrite(name, historyMap, happenTime); in CheckAndHiSysEventWrite()
186 CheckAndHiSysEventWrite(std::string& name, std::map<std::string, std::string>& historyMap, uint64_t& happenTime) CheckAndHiSysEventWrite() argument
H A Dpanic_report_recovery.cpp84 .happenTime = GetParamValueFromString(content, HAPPEN_TIME), in LoadBboxSaveFlagFromFile()
95 ss << HAPPEN_TIME << "=" << bboxSaveLogFlags.happenTime << in SaveBboxLogFlagsToFile()
230 bboxSaveLogFlags.happenTime = timeStr; in CompressAndCopyLogFiles()
239 const std::string& timeStr = bboxSaveLogFlags.happenTime; in ReportPanicEventAfterRecovery()
240 int64_t happenTime = Tbox::GetHappenTime(StringUtil::GetRleftSubstr(timeStr, "-"), in ReportPanicEventAfterRecovery() local
250 "HAPPEN_TIME", happenTime, in ReportPanicEventAfterRecovery()
262 if (FileUtil::FileExists(GetBackupFilePath(bboxSaveLogFlags.happenTime))) { in TryToReportRecoveryPanicEvent()
275 const std::string& timeStr = bboxSaveLogFlags.happenTime; in ConfirmReportResult()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dtrace_collector_impl.h32 UCollect::TraceCaller &caller, uint32_t timeLimit, uint64_t happenTime = 0) override;
37 int32_t timeLimit, uint64_t happenTime = 0);
H A Dtrace_flow_controller.h44 * @param happenTime main thread jank happen time, millisecond
47 bool HasCallOnceToday(int32_t uid, uint64_t happenTime);
/base/hiviewdfx/hiview/plugins/performance/reporter/event_poster/
H A DEventsPoster.cpp70 info.happenTime = event.happenTime; in ConvertToAppStartInfo()
102 info.happenTime = event.happenTime; in ConvertToScrollJankInfo()
H A DIAppStartEventPoster.h52 uint64_t happenTime{0};
H A DIScrollJankEventPoster.h51 uint64_t happenTime{0};
/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/
H A DJankAnimatorReporterAdapter.cpp98 data.happenTime = event.happenTime; in ConvertReporterEventToData()
131 info.happenTime = event.happenTime; in ConvertReportEventToEventInfo()
H A DAppStartReporterAdapter.cpp73 info.happenTime = event.happenTime; in ConvertReportEventToEventInfo()
H A DSimpleAppStartReporterAdapter.cpp77 data.happenTime = event.happenTime; in ConvertReportEventToData()
/base/hiviewdfx/hiview/plugins/performance/monitor/converter/
H A DJankAnimatorMonitorConverter.h59 event.happenTime = (metrics.appInfo.startTime == 0) ? metrics.rsInfo.happenTime : metrics.appInfo.startTime; in ConverterReportData()
/base/hiviewdfx/hiview/plugins/performance/event_publisher/
H A DIEventObserver.h50 uint64_t happenTime{0};
80 uint64_t happenTime{0};
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/
H A Dfreeze_detector_plugin_module_test.h37 long happenTime, const std::string& domain, const std::string& stringid) const;
H A Dfreeze_detector_plugin_module_test.cpp55 bool fromKernel, long happenTime, const std::string& domain, const std::string& stringid) const in CreateFreezeEvent()
65 event->SetEventValue("time_", happenTime); in CreateFreezeEvent()
66 event->happenTime_ = happenTime; in CreateFreezeEvent()
54 CreateFreezeEvent(const std::string& extraInfo, bool fromKernel, long happenTime, const std::string& domain, const std::string& stringid) const CreateFreezeEvent() argument
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
H A Dutility_common_utils_test.cpp294 auto happenTime = Tbox::GetHappenTime(timeStr, "(\\d{4})(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})"); in HWTEST_F() local
296 ASSERT_TRUE(!happenTime); in HWTEST_F()
308 auto happenTime = Tbox::GetHappenTime(timeStr, "(\\d{4})(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})"); in HWTEST_F() local
310 ASSERT_EQ(happenTime, 415190); in HWTEST_F()
323 auto happenTime = Tbox::GetHappenTime(timeStr, "(\\d{4})(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})"); in HWTEST_F() local
325 if (happenTime - timeStrtoTm > offset) { in HWTEST_F()
326 ASSERT_EQ(happenTime - timeStrtoTm, offset); in HWTEST_F()
328 ASSERT_TRUE(happenTime); in HWTEST_F()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dtrace_collector.h36 uint32_t timeLimit, uint64_t happenTime = 0) = 0;
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan/
H A Dgwpasan_collector.h35 uint64_t happenTime; member
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_app_usage_db_helper.h42 int64_t happenTime = 0; member
54 int64_t happenTime = 0; member
/base/hiviewdfx/hiview/plugins/performance/reporter/infrastructure/
H A DIAppStartReportInfrastructure.h50 uint64_t happenTime{0};
H A DIJankAnimatorReportInfrastructure.h50 uint64_t happenTime{0};
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/reporter/
H A DIJankAnimatorReporter.h50 uint64_t happenTime{0};

Completed in 10 milliseconds

123