/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/ |
H A D | perf_collector_test.cpp | 48 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 D | trace_flow_controller.cpp | 172 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 D | trace_storage_test.cpp | 82 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 D | time_util.h | 55 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format);
|
/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()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
H A D | unified_collection_stat.cpp | 54 return TimeUtil::TimestampFormatToDate(std::time(nullptr), "%Y-%m-%d");
in GetCurrentDate()
|
/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()
|
/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | active_key_event.cpp | 165 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 D | event_logger.cpp | 183 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 D | dmesg_catcher.cpp | 103 std::string sysrqTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S");
in DmesgSaveTofile()
|
H A D | shell_catcher.cpp | 107 path += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC,
in CaDoInChildProcesscatcher()
|
/base/hiviewdfx/hiview/base/running_status_logger/ |
H A D | running_status_logger.cpp | 62 return TimeUtil::TimestampFormatToDate(lt, format); in FormatTimeStamp()
|
/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()
|
/base/hiviewdfx/hiview/plugins/unified_collector/task/ |
H A D | cpu_perf_dump.cpp | 52 filename += TimeUtil::TimestampFormatToDate(TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC, in DumpTopNCpuProcessPerfData()
|
/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()
|
/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()
|
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/ |
H A D | app_usage_event_factory.cpp | 112 std::string dateStr = TimeUtil::TimestampFormatToDate(startTime / MILLISEC_TO_SEC, DATE_FORMAT);
in GetAppUsageInfosByUserId()
|
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/ |
H A D | panic_error_info_handle.cpp | 166 TimeUtil::TimestampFormatToDate(startTime, "%Y%m%d-%H%M%S") + "/"; in CopyPstoreFileToHistoryLog()
|
/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()
|
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/ |
H A D | log_catcher_utils.cpp | 113 std::string formatTime = TimeUtil::TimestampFormatToDate(logTime, "%Y%m%d%H%M%S"); in WriteKernelStackToFd()
|
/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_FORMAT);
in Create()
|
/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%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 D | vendor.cpp | 160 TimeUtil::TimestampFormatToDate(timestamp, "%Y/%m/%d-%H:%M:%S") << in DumpEventInfo()
|