|
def | __init__ (self, context) |
|
def | restore_settings (self, plugin_settings, instance_settings) |
|
def | save_settings (self, plugin_settings, instance_settings) |
|
def | shutdown_plugin (self) |
|
def | update_filter (self, args) |
|
def | update_one_item (self, row, info) |
|
def | update_table (self) |
|
def | __init__ (self, context) |
|
def | restore_settings (self, plugin_settings, instance_settings) |
|
def | save_settings (self, plugin_settings, instance_settings) |
|
def | shutdown_plugin (self) |
|
|
list | FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] |
|
| name_filter = re.compile('') |
|
list | NODE_FIELDS = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] |
|
list | NODE_LABELS = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] |
|
list | OUT_FIELDS = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] |
|
list | SORT_TYPE = [str, str, float, float, float ] |
|
dictionary | TOOLTIPS |
|
Definition at line 53 of file top_plugin.py.
def rqt_top.top_plugin.Top.__init__ |
( |
|
self, |
|
|
|
context |
|
) |
| |
def rqt_top.top_plugin.Top._kill_node |
( |
|
self | ) |
|
|
private |
def rqt_top.top_plugin.Top._tableItemClicked |
( |
|
self, |
|
|
|
item, |
|
|
|
column |
|
) |
| |
|
private |
def rqt_top.top_plugin.Top.restore_settings |
( |
|
self, |
|
|
|
plugin_settings, |
|
|
|
instance_settings |
|
) |
| |
def rqt_top.top_plugin.Top.save_settings |
( |
|
self, |
|
|
|
plugin_settings, |
|
|
|
instance_settings |
|
) |
| |
def rqt_top.top_plugin.Top.shutdown_plugin |
( |
|
self | ) |
|
def rqt_top.top_plugin.Top.update_filter |
( |
|
self, |
|
|
|
args |
|
) |
| |
def rqt_top.top_plugin.Top.update_one_item |
( |
|
self, |
|
|
|
row, |
|
|
|
info |
|
) |
| |
def rqt_top.top_plugin.Top.update_table |
( |
|
self | ) |
|
rqt_top.top_plugin.Top._container |
|
private |
rqt_top.top_plugin.Top._filter_box |
|
private |
rqt_top.top_plugin.Top._kill_button |
|
private |
rqt_top.top_plugin.Top._layout |
|
private |
rqt_top.top_plugin.Top._node_info = NodeInfo() |
|
staticprivate |
rqt_top.top_plugin.Top._regex_box |
|
private |
rqt_top.top_plugin.Top._selected_node |
|
private |
rqt_top.top_plugin.Top._selected_node_lock |
|
private |
rqt_top.top_plugin.Top._table_widget |
|
private |
rqt_top.top_plugin.Top._toolbar |
|
private |
rqt_top.top_plugin.Top._update_timer |
|
private |
list rqt_top.top_plugin.Top.FORMAT_STRS = ['%s', '%s', '%0.2f', '%0.2f', '%s' ] |
|
static |
rqt_top.top_plugin.Top.name_filter = re.compile('') |
|
static |
list rqt_top.top_plugin.Top.NODE_FIELDS = [ 'pid', 'get_cpu_percent', 'get_memory_percent', 'get_num_threads'] |
|
static |
list rqt_top.top_plugin.Top.NODE_LABELS = ['Node', 'PID', 'CPU %', 'Mem %', 'Num Threads' ] |
|
static |
list rqt_top.top_plugin.Top.OUT_FIELDS = ['node_name', 'pid', 'cpu_percent', 'memory_percent', 'num_threads' ] |
|
static |
list rqt_top.top_plugin.Top.SORT_TYPE = [str, str, float, float, float ] |
|
static |
dictionary rqt_top.top_plugin.Top.TOOLTIPS |
|
static |
Initial value: 2 0: (
'cmdline',
lambda x:
'\n'.join(textwrap.wrap(
' '.join(x)))),
3 3: (
'memory_info',
lambda x: (
'Resident: %0.2f MiB, Virtual: %0.2f MiB' % (x[0] / 2**20, x[1] / 2**20)))
Definition at line 59 of file top_plugin.py.
The documentation for this class was generated from the following file: