Public Member Functions | |
| def | __init__ |
| def | get_statistics |
| def | is_running |
| def | reset |
| def | update |
Public Attributes | |
| cpu_log | |
| hostname | |
| node | |
| num_threads | |
| pid | |
| res_log | |
| start_time | |
| uri | |
| virt_log | |
Private Attributes | |
| _process | |
| _process_ok | |
Tracks process statistics of a PID.
Definition at line 24 of file node_monitor.py.
| def rosprofiler.node_monitor.NodeMonitor.__init__ | ( | self, | |
| name, | |||
| uri, | |||
| pid | |||
| ) |
:param str name: the registered node name :param str uri: the xmlrpc uri of the node :param int pid: the process PID of this node
Definition at line 26 of file node_monitor.py.
Returns NodeStatistics() using information stored in the buffer. :returns: statistics information collected about the process :rtype: NodeStatistics
Definition at line 66 of file node_monitor.py.
| def rosprofiler.node_monitor.NodeMonitor.is_running | ( | self | ) |
Returns if we are still monitoring the process of the PID. :rtype: bool
Definition at line 45 of file node_monitor.py.
| def rosprofiler.node_monitor.NodeMonitor.reset | ( | self | ) |
Clears the statistics information stored in the buffer
Definition at line 98 of file node_monitor.py.
| def rosprofiler.node_monitor.NodeMonitor.update | ( | self | ) |
Record cpu and memory information about this procress into a buffer
Definition at line 53 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.
Definition at line 30 of file node_monitor.py.