/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/ |
H A D | perf_collector_test.cpp | 48 …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 D | trace_flow_controller.cpp | 173 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 D | trace_storage_test.cpp | 82 …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 D | freeze_common.cpp | 145 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 D | vendor.cpp | 136 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 D | time_util.cpp | 67 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 D | hiview_db_util.cpp | 51 std::string dateStr = TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d"); in CreateFileNameByDate()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | active_key_event.cpp | 159 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 D | event_logger.cpp | 165 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 D | time_util.h | 55 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format);
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
H A D | unified_collection_stat.cpp | 53 return TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d"); in GetCurrentDate()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/ |
H A D | sys_event_store.cpp | 118 std::string dateStr(TimeUtil::TimestampFormatToDate(TimeUtil::GetSeconds(), "%Y%m%d")); in OnEvent()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | dmesg_catcher.cpp | 102 std::string sysrqTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in DmesgSaveTofile()
|
H A D | shell_catcher.cpp | 131 … path += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in CaDoInChildProcesscatcher()
|
/ohos5.0/base/hiviewdfx/hiview/base/running_status_logger/ |
H A D | running_status_logger.cpp | 62 return TimeUtil::TimestampFormatToDate(lt, format); in FormatTimeStamp()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/ |
H A D | app_usage_event_factory.cpp | 106 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 D | app_trace_context.cpp | 53 …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 D | running_status_logger_test.cpp | 43 return TimeUtil::TimestampFormatToDate(lt - TIME_STAMP_OFFSET, TIME_FORMAT); in FormatTimeStamp()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | common_util.cpp | 117 std::string timeFormat = TimeUtil::TimestampFormatToDate(fileTime, "%Y%m%d%H%M%S"); in CreateExportFile()
|
H A D | memory_collector_impl.cpp | 60 return TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in GetCurrTimestamp()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/task/ |
H A D | cpu_perf_dump.cpp | 54 …filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISE… in DumpTopNCpuProcessPerfData()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/ |
H A D | cpu_storage_test.cpp | 44 …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 D | log_catcher_utils.cpp | 105 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 D | fold_app_usage_event_factory.cpp | 56 …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 D | daily_db_helper.cpp | 200 std::string curDate = TimeUtil::TimestampFormatToDate(nowTime, "%Y%m%d"); in NeedReport()
|