Browse Source

clean printfs

Andra Hugo 12 years ago
parent
commit
34aa059de1

+ 0 - 1
sched_ctx_hypervisor/src/hypervisor_policies/policy_tools.c

@@ -262,7 +262,6 @@ unsigned _resize(unsigned sender_sched_ctx, unsigned receiver_sched_ctx, unsigne
 			if(poor_sched_ctx != STARPU_NMAX_SCHED_CTXS)
 			{						
 				int *workers_to_move = _get_first_workers(sender_sched_ctx, &nworkers_to_move, STARPU_ANY_WORKER);
-				printf("try tot move to %d\n", poor_sched_ctx);
 				sched_ctx_hypervisor_move_workers(sender_sched_ctx, poor_sched_ctx, workers_to_move, nworkers_to_move, now);
 				
 				struct policy_config *new_config = sched_ctx_hypervisor_get_config(poor_sched_ctx);

+ 1 - 1
sched_ctx_hypervisor/src/sched_ctx_hypervisor.c

@@ -410,7 +410,7 @@ void sched_ctx_hypervisor_add_workers_to_sched_ctx(int* workers_to_add, unsigned
 {
 	if(nworkers_to_add > 0 && hypervisor.resize[sched_ctx])
 	{
-		int j;
+/* 		int j; */
 /* 		printf("add to ctx %d:", sched_ctx); */
 /* 		for(j = 0; j < nworkers_to_add; j++) */
 /* 			printf(" %d", workers_to_add[j]); */