Signed-off-by: Antoine Busque <abusque@efficios.com>
'FreqGraphDatum', ['value', 'value_str', 'lower_bound']
)
+
class Graph():
MAX_GRAPH_WIDTH = 80
BAR_CHAR = '█'
return self._title
title_len = len(self._title)
- space_width = (self.MAX_GRAPH_WIDTH - title_len) + \
- 1 + self._max_value_len + 1
+ space_width = (
+ self.MAX_GRAPH_WIDTH - title_len + 1 + self._max_value_len + 1
+ )
return self._title + ' ' * space_width + self._label_header
next_proc = self.tids[next_tid]
next_proc.last_sched_ts = timestamp
-
def _process_sched_migrate_task(self, **kwargs):
cpu_id = kwargs['cpu_id']
proc = kwargs['proc']