Skip to content

Commit

Permalink
Fix bug in online/offline accounting of some binary protocols.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Apr 5, 2024
1 parent f4b5ad2 commit 1400356
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Processor/Data_Files.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,15 @@ typename Sub_Data_Files<T>::part_type& Sub_Data_Files<T>::get_part()
template<class sint, class sgf2n>
TimerWithComm Data_Files<sint, sgf2n>::total_time()
{
return DataFp.prep_timer + DataF2.prep_timer + DataFb.prep_timer;
auto res = DataFp.prep_timer + DataF2.prep_timer + DataFb.prep_timer;
try
{
res += DataFb.get_part().prep_timer;
}
catch (...)
{
}
return res;
}

#endif

0 comments on commit 1400356

Please sign in to comment.