File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ xlb_server_init(const struct xlb_state *state)
152152 adlb_code code ;
153153
154154 DEBUG ("server_init()..." );
155-
155+
156156 xlb_server_shutting_down = false;
157157
158158 list_i_init (& workers_shutdown );
@@ -416,10 +416,10 @@ static adlb_code xlb_process_ready_work(void)
416416 adlb_code rc ;
417417 bool ready = false;
418418
419- unused double t0 = MPI_Wtime ();
420-
419+ unused double t0 , t1 ;
421420 if (xlb_server_ready_work .count > 0 )
422421 {
422+ t0 = MPI_Wtime ();
423423 ready = true;
424424 DEBUG ("xlb_process_ready_work(): count=%i" ,
425425 xlb_server_ready_work .count );
@@ -431,11 +431,10 @@ static adlb_code xlb_process_ready_work(void)
431431 ADLB_CHECK (rc );
432432 }
433433
434- unused double t1 = MPI_Wtime ();
435-
436434 if (ready )
437435 {
438- INFO ("xlb_process_ready_work(): %f" , t1 - t0 );
436+ t1 = MPI_Wtime ();
437+ DEBUG ("xlb_process_ready_work(): %f" , t1 - t0 );
439438 }
440439
441440 if (xlb_server_ready_work .size > 1024 )
You can’t perform that action at this time.
0 commit comments