From 84e4d27563fb6f6bdf99b5834c2a2559b2f31839 Mon Sep 17 00:00:00 2001 From: Josh Finken Date: Mon, 23 Oct 2023 07:57:06 -0600 Subject: [PATCH] PR build_and_test fixes --- performance_metrics/src/resource_usage_logger.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/performance_metrics/src/resource_usage_logger.cpp b/performance_metrics/src/resource_usage_logger.cpp index 260dce8b..959a1409 100644 --- a/performance_metrics/src/resource_usage_logger.cpp +++ b/performance_metrics/src/resource_usage_logger.cpp @@ -49,8 +49,6 @@ void ResourceUsageLogger::start(std::chrono::milliseconds period) std::cout << "[ResourceUsageLogger]: Logging to " << m_filename << std::endl; m_t1_real_start = std::chrono::steady_clock::now(); - //m_t1_user = std::clock(); - //m_t1_real = std::chrono::steady_clock::now(); m_logger_thread_done = false; // create a detached thread that monitors resource usage periodically @@ -59,7 +57,7 @@ void ResourceUsageLogger::start(std::chrono::milliseconds period) int64_t i = 1; while (m_is_logging) { // Updating m_t1_user and m_t1_real here will have the effect of calculating - // resource utilization only over the last `period` milliseconds, *not* + // resource utilization only over the last `period` milliseconds, *not* // since program start. m_t1_user = std::clock(); m_t1_real = std::chrono::steady_clock::now();