Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
  • Loading branch information
pre-commit-ci[bot] authored and TetsuKawa committed Apr 15, 2024
1 parent ab1d848 commit 1cd42cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ class MemMonitor : public rclcpp::Node
timer_; //!< @brief Timer to execute readUsage and edac-utils command
rclcpp::CallbackGroup::SharedPtr timer_callback_group_; //!< @brief Callback Group

std::mutex usage_mutex_; //!< @brief Mutex for output from /proc/meminfo
std::string usage_error_str_; //!< @brief Error string
std::map<std::string, size_t> usage_map_; //!< @brief Output of /proc/meminfo
double usage_elapsed_ms_; //!< @brief Execution time of readUsage
std::mutex usage_mutex_; //!< @brief Mutex for output from /proc/meminfo
std::string usage_error_str_; //!< @brief Error string
std::map<std::string, size_t> usage_map_; //!< @brief Output of /proc/meminfo
double usage_elapsed_ms_; //!< @brief Execution time of readUsage
std::mutex usage_timeout_mutex_; //!< @brief Mutex regarding timeout for executing readUsage

std::mutex ecc_mutex_; //!< @brief Mutex for output from edac-util command
Expand All @@ -113,8 +113,8 @@ class MemMonitor : public rclcpp::Node
std::string ecc_output_; //!< @brief Output of edac-util command
double ecc_elapsed_ms_; //!< @brief Execution time of edac-util command
std::mutex
ecc_timeout_mutex_; //!< @brief Mutex regarding timeout for executing edac-util command
bool use_edac_util_; //!< @brief Available to use edac-util command or not
ecc_timeout_mutex_; //!< @brief Mutex regarding timeout for executing edac-util command
bool use_edac_util_; //!< @brief Available to use edac-util command or not

/**
* @brief Memory usage status messages
Expand Down
2 changes: 1 addition & 1 deletion system/system_monitor/src/mem_monitor/mem_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ std::string MemMonitor::executeEdacUtil(std::string & output, std::string & pipe
}

void MemMonitor::onTimer()
{
{
tier4_autoware_utils::StopWatch<std::chrono::milliseconds> stop_watch;

// Check Memory Usage
Expand Down

0 comments on commit 1cd42cc

Please sign in to comment.