/base/hiviewdfx/hiview/test/unittest/unified_collection/client/ |
H A D | trace_collector_client_test.cpp | 163 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 D | trace_collector_impl.cpp | 50 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 D | hitracedump_fuzzer.cpp | 53 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 D | tbox.cpp | 170 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 D | bbox_detector_plugin.cpp | 117 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 D | panic_report_recovery.cpp | 84 .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 D | trace_collector_impl.h | 32 UCollect::TraceCaller &caller, uint32_t timeLimit, uint64_t happenTime = 0) override;
37 int32_t timeLimit, uint64_t happenTime = 0);
|
H A D | trace_flow_controller.h | 44 * @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 D | EventsPoster.cpp | 70 info.happenTime = event.happenTime; in ConvertToAppStartInfo() 102 info.happenTime = event.happenTime; in ConvertToScrollJankInfo()
|
H A D | IAppStartEventPoster.h | 52 uint64_t happenTime{0};
|
H A D | IScrollJankEventPoster.h | 51 uint64_t happenTime{0};
|
/base/hiviewdfx/hiview/plugins/performance/reporter/adapter/ |
H A D | JankAnimatorReporterAdapter.cpp | 98 data.happenTime = event.happenTime; in ConvertReporterEventToData() 131 info.happenTime = event.happenTime; in ConvertReportEventToEventInfo()
|
H A D | AppStartReporterAdapter.cpp | 73 info.happenTime = event.happenTime; in ConvertReportEventToEventInfo()
|
H A D | SimpleAppStartReporterAdapter.cpp | 77 data.happenTime = event.happenTime; in ConvertReportEventToData()
|
/base/hiviewdfx/hiview/plugins/performance/monitor/converter/ |
H A D | JankAnimatorMonitorConverter.h | 59 event.happenTime = (metrics.appInfo.startTime == 0) ? metrics.rsInfo.happenTime : metrics.appInfo.startTime; in ConverterReportData()
|
/base/hiviewdfx/hiview/plugins/performance/event_publisher/ |
H A D | IEventObserver.h | 50 uint64_t happenTime{0}; 80 uint64_t happenTime{0};
|
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/ |
H A D | freeze_detector_plugin_module_test.h | 37 long happenTime, const std::string& domain, const std::string& stringid) const;
|
H A D | freeze_detector_plugin_module_test.cpp | 55 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 D | utility_common_utils_test.cpp | 294 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 D | trace_collector.h | 36 uint32_t timeLimit, uint64_t happenTime = 0) = 0;
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/gwp_asan/ |
H A D | gwpasan_collector.h | 35 uint64_t happenTime; member
|
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/ |
H A D | fold_app_usage_db_helper.h | 42 int64_t happenTime = 0;
member 54 int64_t happenTime = 0;
member
|
/base/hiviewdfx/hiview/plugins/performance/reporter/infrastructure/ |
H A D | IAppStartReportInfrastructure.h | 50 uint64_t happenTime{0};
|
H A D | IJankAnimatorReportInfrastructure.h | 50 uint64_t happenTime{0};
|
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/reporter/ |
H A D | IJankAnimatorReporter.h | 50 uint64_t happenTime{0};
|