Skip to content

Commit

Permalink
feat(tier4_debug_msgs): add SystemUsageArray
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 committed Jul 25, 2024
1 parent 4b137c5 commit 1dd72f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tier4_debug_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/StringStamped.msg"
"msg/ProcessingTimeNode.msg"
"msg/ProcessingTimeTree.msg"
"msg/SystemUsage.msg"
"msg/SystemUsageArray.msg"
DEPENDENCIES
builtin_interfaces
)
Expand Down
4 changes: 4 additions & 0 deletions tier4_debug_msgs/msg/SystemUsage.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string name # unique name to denote the process
int64 pid # process id
float64 cpu_usage # [%]
float64 memory_usage # [Byte]
3 changes: 3 additions & 0 deletions tier4_debug_msgs/msg/SystemUsageArray.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
builtin_interfaces/Time stamp

SystemUsage[] system_usage

0 comments on commit 1dd72f5

Please sign in to comment.