From 7aafbf2c28d9a03d90ca0ccc200cca61b2a80330 Mon Sep 17 00:00:00 2001
From: Georgios Andreadis <g.andreadis@student.tudelft.nl>
Date: Mon, 27 Feb 2017 16:59:04 +0100
Subject: Add parallelizable and sequential traces

---
 database/test.sql | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'database/test.sql')

diff --git a/database/test.sql b/database/test.sql
index 32117e62..37d7e79f 100644
--- a/database/test.sql
+++ b/database/test.sql
@@ -111,7 +111,6 @@ INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VA
 INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (21, 100000, 2, 'SEQUENTIAL');
 
 -- Path Planning Trace
-
 INSERT INTO traces (name) VALUES ('Path planning');
 
 INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (0, 1000000, 2, 'PARALLEL');
@@ -132,6 +131,18 @@ INSERT INTO tasks (start_tick, total_flop_count, trace_id, task_dependency_id, p
 INSERT INTO tasks (start_tick, total_flop_count, trace_id, task_dependency_id, parallelizability) VALUES (13, 200000, 1, 66, 'SEQUENTIAL');
 INSERT INTO tasks (start_tick, total_flop_count, trace_id, task_dependency_id, parallelizability) VALUES (14, 200000, 1, 66, 'SEQUENTIAL');
 
+-- Parallelizable Trace
+INSERT INTO traces (name) VALUES ('Parallel heavy trace');
+
+INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (0, 100000, 3, 'SEQUENTIAL');
+INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (0, 900000, 3, 'PARALLEL');
+
+-- Sequential Trace
+INSERT INTO traces (name) VALUES ('Sequential heavy trace');
+
+INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (0, 100000, 4, 'PARALLEL');
+INSERT INTO tasks (start_tick, total_flop_count, trace_id, parallelizability) VALUES (0, 900000, 4, 'SEQUENTIAL');
+
 -- Experiments
 INSERT INTO experiments (simulation_id, path_id, trace_id, scheduler_name, name, state, last_simulated_tick)
     VALUES (1, 1, 1, 'SRTF', 'Default trace, SRTF', 'QUEUED', 0);
-- 
cgit v1.2.3

