aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2016-08-11 17:59:06 +0100
committerJavi Merino <javi.merino@arm.com>2016-08-11 17:59:06 +0100
commitd77008c8d87eadb88b01ceaeda70650b7d364c8c (patch)
tree4465b5868c4c9b1131764286cb78e977fde41351
parentaf6f4c13472388f5512fc6a79e7c26145510a726 (diff)
downloadbart-d77008c8d87eadb88b01ceaeda70650b7d364c8c.tar.gz
sched: SchedAssert: fix type documentation for the level parameter
The type of the level parameter for getResidency(), assertResidency() and assertSwitch() is not displayed in the HTML documentation. trappy.stats.Topology expects a string, so report that as the type.
-rwxr-xr-xbart/sched/SchedAssert.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bart/sched/SchedAssert.py b/bart/sched/SchedAssert.py
index d716c96..dd0b427 100755
--- a/bart/sched/SchedAssert.py
+++ b/bart/sched/SchedAssert.py
@@ -149,7 +149,7 @@ class SchedAssert(object):
of the task
:param level: The topological level to which the group belongs
- :type level (hashable):
+ :type level: str
:param node: The group of CPUs for which residency
needs to calculated
@@ -195,7 +195,7 @@ class SchedAssert(object):
percent=False):
"""
:param level: The topological level to which the group belongs
- :type level (hashable):
+ :type level: str
:param node: The group of CPUs for which residency
needs to calculated
@@ -324,7 +324,7 @@ class SchedAssert(object):
:code:`from_node` to the :code:`to_node`:
:param level: The topological level to which the group belongs
- :type level (hashable):
+ :type level: str
:param from_node: The node from which the task switches out
:type from_node: list