Commit 6c3a410b authored by Simon Spannagel's avatar Simon Spannagel
Browse files

ModuleManager: comment bookkeeping of timing for events for now

parent 0cd1a6bf
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -827,11 +827,13 @@ void ModuleManager::run(RandomNumberGenerator& seeder) {

                // Update execution time
                auto end = std::chrono::steady_clock::now();
                std::lock_guard<std::mutex> stat_lock{event->stats_mutex_};

                auto duration = static_cast<std::chrono::duration<long double>>(end - start).count();

                /*{
                  std::lock_guard<std::mutex> stat_lock{event->stats_mutex_};
                  event_time += duration;
                  this->module_execution_time_[module.get()] += duration;
                  }*/

                if(plot) {
                    this->module_event_time_[module.get()]->Fill(static_cast<double>(duration));