summaryrefslogtreecommitdiff
path: root/opendc/models/task.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <G.Andreadis@student.tudelft.nl>2018-08-14 16:42:36 +0200
committerGitHub <noreply@github.com>2018-08-14 16:42:36 +0200
commit9a2a98548ab50217a78d433a13da72af3001a785 (patch)
tree7136a777a2e8ad509cecadbd986531510b5953dd /opendc/models/task.py
parentcb4eafa88edd4db36f34185c9477e84346bece6e (diff)
parent7310f720fdd48eb7b33cc41c772d9cae693d0da1 (diff)
Merge pull request #10 from atlarge-research/feature/sc18-experiments
feat: Implement Scheduler Reference Architecture
Diffstat (limited to 'opendc/models/task.py')
-rw-r--r--opendc/models/task.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/opendc/models/task.py b/opendc/models/task.py
index 4e6485fb..ff1dd16a 100644
--- a/opendc/models/task.py
+++ b/opendc/models/task.py
@@ -7,14 +7,13 @@ class Task(Model):
'id': 'id',
'startTick': 'start_tick',
'totalFlopCount': 'total_flop_count',
+ 'coreCount': 'core_count',
'jobId': 'job_id',
- 'taskDependencyId': 'task_dependency_id',
- 'parallelizability': 'parallelizability'
}
}
TABLE_NAME = 'tasks'
- COLUMNS = ['id', 'start_tick', 'total_flop_count', 'job_id', 'task_dependency_id', 'parallelizability']
+ COLUMNS = ['id', 'start_tick', 'total_flop_count', 'job_id', 'core_count']
COLUMNS_PRIMARY_KEY = ['id']
def google_id_has_at_least(self, google_id, authorization_level):