Commit 4b710687 by Maxime Chéramy

Fix import path of some schedulers.

parent 46b3f76e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# coding=utf-8 # coding=utf-8
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from EDF_mono import EDF_mono from simso.schedulers.EDF_mono import EDF_mono
from simso.utils import PartitionedScheduler from simso.utils import PartitionedScheduler
......
...@@ -3,7 +3,7 @@ Partitionned EDF using PartitionedScheduler. ...@@ -3,7 +3,7 @@ Partitionned EDF using PartitionedScheduler.
Try to load balance the tasks among the processors. Try to load balance the tasks among the processors.
""" """
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from EDF_mono import EDF_mono from simso.schedulers.EDF_mono import EDF_mono
from simso.utils import PartitionedScheduler from simso.utils import PartitionedScheduler
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Partitionned EDF using PartitionedScheduler. Partitionned EDF using PartitionedScheduler.
""" """
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from EDF_mono import EDF_mono from simso.schedulers.EDF_mono import EDF_mono
from simso.utils import PartitionedScheduler from simso.utils import PartitionedScheduler
from simso.utils.PartitionedScheduler import decreasing_first_fit from simso.utils.PartitionedScheduler import decreasing_first_fit
......
...@@ -5,7 +5,7 @@ Use EDF_mono. ...@@ -5,7 +5,7 @@ Use EDF_mono.
""" """
from simso.core import Scheduler from simso.core import Scheduler
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from EDF_mono import EDF_mono from simso.schedulers.EDF_mono import EDF_mono
class P_EDF2(Scheduler): class P_EDF2(Scheduler):
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Partitionned EDF using PartitionedScheduler. Partitionned EDF using PartitionedScheduler.
""" """
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from EDF_mono import EDF_mono from simso.schedulers.EDF_mono import EDF_mono
from simso.utils import PartitionedScheduler from simso.utils import PartitionedScheduler
from simso.utils.PartitionedScheduler import decreasing_worst_fit from simso.utils.PartitionedScheduler import decreasing_worst_fit
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Partitionned EDF using PartitionedScheduler. Partitionned EDF using PartitionedScheduler.
""" """
from simso.core.Scheduler import SchedulerInfo from simso.core.Scheduler import SchedulerInfo
from RM_mono import RM_mono from simso.schedulers.RM_mono import RM_mono
from simso.utils import PartitionedScheduler from simso.utils import PartitionedScheduler
......
...@@ -8,8 +8,8 @@ tasks with implicit deadlines. ...@@ -8,8 +8,8 @@ tasks with implicit deadlines.
""" """
from simso.core import Scheduler, Timer from simso.core import Scheduler, Timer
from RUNServer import EDFServer, TaskServer, DualServer, select_jobs, \ from simso.schedulers.RUNServer import EDFServer, TaskServer, DualServer, \
add_job, get_child_tasks select_jobs, add_job, get_child_tasks
class RUN(Scheduler): class RUN(Scheduler):
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Work-Conserving version of U-EDF. Work-Conserving version of U-EDF.
""" """
from RUN import RUN from simso.schedulers.RUN import RUN
class WC_RUN(RUN): class WC_RUN(RUN):
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Work-Conserving version of U-EDF. Work-Conserving version of U-EDF.
""" """
from U_EDF import U_EDF from simso.schedulers.U_EDF import U_EDF
class WC_U_EDF(U_EDF): class WC_U_EDF(U_EDF):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment