Procházet zdrojové kódy

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

Cyril Roelandt před 13 roky
rodič
revize
2f7e5967c3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;