Home
last modified time | relevance | path

Searched refs:TimestampFormatToDate (Results 1 - 25 of 26) sorted by relevance

12

/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dperf_collector_test.cpp48 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in HWTEST_F()
70 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in HWTEST_F()
93 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in HWTEST_F()
125 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in HWTEST_F()
150 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in HWTEST_F()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_flow_controller.cpp172 std::string dateStr = TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetDate()
190 std::string date = TimeUtil::TimestampFormatToDate(happenTimeInSecond, "%Y%m%d"); in HasCallOnceToday()
203 std::string date = TimeUtil::TimestampFormatToDate(happenTimeInSecond, "%Y%m%d"); in RecordCaller()
230 std::string dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(timeThreeDaysAgo, "%Y%m%d"); in CleanOldAppTrace()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/test/
H A Dtrace_storage_test.cpp82 auto dateOneDayAgo = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds() - secondsOfOneDay, "%Y%m%d"); in HWTEST_F()
83 auto dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds() - secondsOfThreeDays, "%Y%m%d"); in HWTEST_F()
/base/hiviewdfx/hiview/base/utility/include/
H A Dtime_util.h55 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format);
/base/hiviewdfx/hiview/base/utility/
H A Dtime_util.cpp67 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format) in TimestampFormatToDate() function
161 std::string formattedTimeStamp = TimestampFormatToDate(seconds, "%Y%m%d%H%M%S"); in GetFormattedTimestampEndWithMilli()
H A Dhiview_db_util.cpp51 std::string dateStr = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d"); in CreateFileNameByDate()
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
H A Dunified_collection_stat.cpp54 return TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetCurrentDate()
/base/hiviewdfx/hiview/plugins/event_store/
H A Dsys_event_store.cpp118 std::string dateStr(TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d")); in OnEvent()
/base/hiviewdfx/hiview/plugins/eventlogger/
H A Dactive_key_event.cpp165 TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in CombinationKeyHandle()
178 startTimeStr << "start time: " << TimeUtil::TimestampFormatToDate(startTime, "%Y/%m/%d-%H:%M:%S"); in CombinationKeyHandle()
H A Devent_logger.cpp183 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in GetFile()
267 auto time = TimeUtil::TimestampFormatToDate(event->happenTime_ / TimeUtil::SEC_TO_MILLISEC, in SaveDbToFile()
491 startTimeStr << "start time: " << TimeUtil::TimestampFormatToDate(startTime, "%Y/%m/%d-%H:%M:%S"); in WriteStartTime()
507 std::string happenTime = TimeUtil::TimestampFormatToDate(logTime, "%Y/%m/%d-%H:%M:%S"); in WriteCommonHead()
632 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in WriteKernelStackToFile()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Ddmesg_catcher.cpp103 std::string sysrqTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in DmesgSaveTofile()
H A Dshell_catcher.cpp107 path += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in CaDoInChildProcesscatcher()
/base/hiviewdfx/hiview/base/running_status_logger/
H A Drunning_status_logger.cpp62 return TimeUtil::TimestampFormatToDate(lt, format); in FormatTimeStamp()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dcommon_util.cpp117 std::string timeFormat = TimeUtil::TimestampFormatToDate(fileTime, "%Y%m%d%H%M%S"); in CreateExportFile()
H A Dmemory_collector_impl.cpp60 return TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in GetCurrTimestamp()
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_perf_dump.cpp52 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in DumpTopNCpuProcessPerfData()
/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dcpu_storage_test.cpp44 std::string formattedTsStr = TimeUtil::TimestampFormatToDate(std::time(nullptr), TIME_STAMP_FORMAT); in GenerateDbFileName()
/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/
H A Drunning_status_logger_test.cpp43 return TimeUtil::TimestampFormatToDate(lt - TIME_STAMP_OFFSET, TIME_FORMAT); in FormatTimeStamp()
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
H A Dapp_usage_event_factory.cpp112 std::string dateStr = TimeUtil::TimestampFormatToDate(startTime / MILLISEC_TO_SEC, DATE_FORMAT); in GetAppUsageInfosByUserId()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dpanic_error_info_handle.cpp166 TimeUtil::TimestampFormatToDate(startTime, "%Y%m%d-%H%M%S") + "/"; in CopyPstoreFileToHistoryLog()
/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/
H A Ddaily_db_helper.cpp200 std::string curDate = TimeUtil::TimestampFormatToDate(nowTime, "%Y%m%d"); in NeedReport()
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
H A Dlog_catcher_utils.cpp113 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in WriteKernelStackToFd()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_event_factory.cpp56 std::string dateStr = TimeUtil::TimestampFormatToDate(startTime_ / TimeUtil::SEC_TO_MILLISEC, DATE_FORMAT); in Create()
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp53 std::string d1 = TimeUtil::TimestampFormatToDate(beginTime/ TimeUtil::SEC_TO_MILLISEC, "%Y%m%d%H%M%S"); in InnerMakeTraceFileName()
54 std::string d2 = TimeUtil::TimestampFormatToDate(endTime/ TimeUtil::SEC_TO_MILLISEC, "%Y%m%d%H%M%S"); in InnerMakeTraceFileName()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dvendor.cpp160 TimeUtil::TimestampFormatToDate(timestamp, "%Y/%m/%d-%H:%M:%S") << in DumpEventInfo()

Completed in 13 milliseconds

12