Skip to content

Commit

Permalink
updated init time logs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-rahman committed Sep 18, 2021
1 parent 2ee09fd commit c2a4b01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sample/algorithms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ class algorithms{
ITER = 0;
}else{
initDFS(root);
double i_end = omp_get_wtime();
cout << "Initialization Wall time required:" << i_end - start << endl;
}

if(labelfile.size() > 0) readlabels();
Expand Down Expand Up @@ -784,6 +786,8 @@ class algorithms{
LOOP++;
//printf("Loop Count: %d\n", LOOP);
}
double f_end = omp_get_wtime();
cout << "BatchTree ForceUpdate Wall time required:" << f_end - start << endl;
if(checkCrossing(LOOP)){
printf("(after forceupdate) Dead End!\n");
}else{
Expand Down

0 comments on commit c2a4b01

Please sign in to comment.