- Fix CPUPolicy.get_parameters() in Python with a simple yet effective hack
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@835 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
86308ca185
commit
3968bc7cbd
2 changed files with 15 additions and 3 deletions
|
@ -97,7 +97,7 @@ class CPUPolicy:
|
|||
#
|
||||
# @return A sgpem::PolicyParameters instance
|
||||
def get_parameters(self):
|
||||
return sgpem.Scheduler.get_instance().get_policy().get_parameters()
|
||||
return sgpem.CPUPolicy.get_active_policy().get_parameters()
|
||||
|
||||
|
||||
## @brief This function implements an in-place stable sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue