Pārlūkot izejas kodu

tests/sched_policies/execute_all_tasks.c: be a little bit less strict when checking the duration of the tasks.

Cyril Roelandt 13 gadi atpakaļ
vecāks
revīzija
2f7e5967c3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tests/sched_policies/execute_all_tasks.c

+ 1 - 1
tests/sched_policies/execute_all_tasks.c

@@ -105,7 +105,7 @@ run(struct starpu_sched_policy *p)
 
 		pi = tasks[i]->profiling_info;
 		task_len = starpu_timing_timespec_delay_us(&pi->start_time, &pi->end_time);
-		if (fabs(task_len - 1e6) > 1000) /* That's 1ms, should be good. */
+		if (fabs(task_len - 1e6) > 10000) /* That's 10ms, should be good. */
 		{
 			FPRINTF(stderr, "Failed with task length: %fµ\n", task_len);
 			return 1;