소스 검색

heft: remove useless assignments.

_starpu_create_fifo() already initializes the fields of our fifos.
Cyril Roelandt 12 년 전
부모
커밋
8d66c296e5
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      src/sched_policies/heft.c

+ 0 - 6
src/sched_policies/heft.c

@@ -96,12 +96,6 @@ static void heft_init(struct starpu_machine_topology *topology,
 	for (workerid = 0; workerid < nworkers; workerid++)
 	{
 		queue_array[workerid] = _starpu_create_fifo();
-		struct _starpu_fifo_taskq *fifo = queue_array[workerid];
-		
-		fifo->exp_start = starpu_timing_now();
-		fifo->exp_len = 0.0;
-		fifo->exp_end = fifo->exp_start;
-		fifo->ntasks = 0;
 
 		_STARPU_PTHREAD_MUTEX_INIT(&sched_mutex[workerid], NULL);
 		_STARPU_PTHREAD_COND_INIT(&sched_cond[workerid], NULL);