Skip to content
Snippets Groups Projects
Commit 8918eb46 authored by cont-integration's avatar cont-integration
Browse files

[skip ci] applied clang format

parent 45c15590
No related branches found
No related tags found
1 merge request!448Draft: Resolve "Implementation of new nodes creation"
Pipeline #20354 skipped
......@@ -23,7 +23,6 @@
namespace wolf
{
ProfilingUnit::ProfilingUnit(double desired_period_sec)
: running_(false),
desired_period_(1e6 * desired_period_sec),
......@@ -125,8 +124,8 @@ void ProfilingUnit::printProfiling(const std::string& _tabs, std::ostream& _stre
_stream << _tabs << "desired period: " << printDuration(desired_period_) //
<< " (reference)\n";
_stream << _tabs << "avg period: " << printDuration(average_period_) //
<< (desired_period_ > 0 ? "\n" : " (reference)\n")
<< _tabs << "avg time: " << printDuration(acc_duration_.count() / n_callbacks_) //
<< (desired_period_ > 0 ? "\n" : " (reference)\n") << _tabs
<< "avg time: " << printDuration(acc_duration_.count() / n_callbacks_) //
<< " (" << average_percent << "%)"
<< "\n"
<< _tabs << "stdev time: " << printDuration(sqrt(var_duration_)) //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment