diff options
author | Javi Merino <javi.merino@arm.com> | 2016-08-11 17:59:06 +0100 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2016-08-11 17:59:06 +0100 |
commit | d77008c8d87eadb88b01ceaeda70650b7d364c8c (patch) | |
tree | 4465b5868c4c9b1131764286cb78e977fde41351 /bart/sched | |
parent | af6f4c13472388f5512fc6a79e7c26145510a726 (diff) | |
download | bart-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.
Diffstat (limited to 'bart/sched')
-rwxr-xr-x | bart/sched/SchedAssert.py | 6 |
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 |