Skip to content

Commit d153d58

Browse files
committed
drop debug message from testing async flush
1 parent 7de9629 commit d153d58

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/scr_flush_async.c

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -395,12 +395,6 @@ int scr_flush_async_test(scr_cache_index* cindex, int id)
395395
/* make sure all processes make it this far before progressing */
396396
MPI_Barrier(scr_comm_world);
397397

398-
/* start timer */
399-
double time_start;
400-
if (scr_my_rank_world == 0) {
401-
time_start = MPI_Wtime();
402-
}
403-
404398
/* if the transfer failed, indicate that transfer has completed */
405399
int status = SCR_FAILURE;
406400
kvtree* dset_hash = kvtree_get_kv_int(scr_flush_async_list, ASYNC_KEY_OUT_DSET, id);
@@ -409,34 +403,12 @@ int scr_flush_async_test(scr_cache_index* cindex, int id)
409403
return SCR_SUCCESS;
410404
}
411405

412-
/* get the dataset corresponding to this id */
413-
scr_dataset* dataset = scr_dataset_new();
414-
scr_cache_index_get_dataset(cindex, id, dataset);
415-
416-
/* lookup dataset name */
417-
char* dset_name = NULL;
418-
scr_dataset_get_name(dataset, &dset_name);
419-
420-
if (scr_my_rank_world == 0) {
421-
scr_dbg(1, "Testing async flush of dataset %d `%s'", id, dset_name);
422-
}
423-
424406
/* test whether transfer is done */
425407
int rc = SCR_SUCCESS;
426408
if (scr_axl_test(id, scr_comm_world) != SCR_SUCCESS) {
427409
rc = SCR_FAILURE;
428410
}
429411

430-
/* stop timer and report cost */
431-
if (scr_my_rank_world == 0) {
432-
double time_end = MPI_Wtime();
433-
double time_diff = time_end - time_start;
434-
scr_dbg(1, "scr_flush_async_test: %f secs", time_diff);
435-
}
436-
437-
/* free the dataset */
438-
scr_dataset_delete(&dataset);
439-
440412
return rc;
441413
}
442414

0 commit comments

Comments
 (0)