Home
last modified time | relevance | path

Searched refs:TimestampFormatToDate (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dperf_collector_test.cpp48 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE…
70 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE…
93 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE…
125 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE…
150 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE…
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_flow_controller.cpp173 std::string dateStr = TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetDate()
191 std::string date = TimeUtil::TimestampFormatToDate(happenTimeInSecond, "%Y%m%d"); in HasCallOnceToday()
208 std::string date = TimeUtil::TimestampFormatToDate(happenTimeInSecond, "%Y%m%d"); in RecordCaller()
242 std::string dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(timeThreeDaysAgo, "%Y%m%d"); in CleanOldAppTrace()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/test/
H A Dtrace_storage_test.cpp82 …auto dateOneDayAgo = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds() - secondsOfOneDay, "%Y…
83 …auto dateThreeDaysAgo = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds() - secondsOfThreeDay…
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dfreeze_common.cpp145 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y/%m/%d-%H:%M:%S"); in WriteStartInfoToFd()
154 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y/%m/%d-%H:%M:%S"); in WriteEndInfoToFd()
H A Dvendor.cpp136 TimeUtil::TimestampFormatToDate(timestamp, "%Y/%m/%d-%H:%M:%S") << in DumpEventInfo()
249 …TimeUtil::TimestampFormatToDate(watchPoint.GetTimestamp() / TimeUtil::SEC_TO_MILLISEC, "%Y%m%d%H%M… in InitLogFfrt()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/
H A Dactive_key_event.cpp159 TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in CombinationKeyHandle()
172 … startTimeStr << "start time: " << TimeUtil::TimestampFormatToDate(startTime, "%Y/%m/%d-%H:%M:%S"); in CombinationKeyHandle()
H A Devent_logger.cpp165 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in GetFile()
309 auto time = TimeUtil::TimestampFormatToDate(event->happenTime_ / TimeUtil::SEC_TO_MILLISEC, in SaveDbToFile()
346 … startTimeStr << "start time: " << TimeUtil::TimestampFormatToDate(startTime, "%Y/%m/%d-%H:%M:%S"); in StartLogCollect()
484 std::string happenTime = TimeUtil::TimestampFormatToDate(logTime, "%Y/%m/%d-%H:%M:%S"); in WriteCommonHead()
609 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in WriteKernelStackToFile()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dtime_util.h55 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format);
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
H A Dunified_collection_stat.cpp53 return TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetCurrentDate()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/
H A Dsys_event_store.cpp118 std::string dateStr(TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d")); in OnEvent()
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Ddmesg_catcher.cpp102 std::string sysrqTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in DmesgSaveTofile()
H A Dshell_catcher.cpp131 … path += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in CaDoInChildProcesscatcher()
/ohos5.0/base/hiviewdfx/hiview/base/running_status_logger/
H A Drunning_status_logger.cpp62 return TimeUtil::TimestampFormatToDate(lt, format); in FormatTimeStamp()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
H A Dapp_usage_event_factory.cpp106 std::string dateStr = TimeUtil::TimestampFormatToDate(startTime / MILLISEC_TO_SEC, DATE_FORMAT); in GetAppUsageInfosByUserId()
/ohos5.0/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… in InnerMakeTraceFileName()
54 …std::string d2 = TimeUtil::TimestampFormatToDate(endTime/ TimeUtil::SEC_TO_MILLISEC, "%Y%m%d%H%M%S… in InnerMakeTraceFileName()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_perf_dump.cpp54 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE… in DumpTopNCpuProcessPerfData()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
H A Dlog_catcher_utils.cpp105 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in WriteKernelStackToFd()
/ohos5.0/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… in Create()
/ohos5.0/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()

12