Commit 36dda535 authored by Stephan Lachnit's avatar Stephan Lachnit Committed by Simon Spannagel
Browse files

ModuleManager: add some more doc to code, thanks @slachnit

parent 7b939825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -871,7 +871,7 @@ void ModuleManager::run(RandomNumberGenerator& seeder) {
            auto buffered_events = thread_pool_->bufferedQueueSize();
            if(plot) {
                this->buffer_fill_level_->Fill(static_cast<double>(buffered_events));
                event_time_->Fill(static_cast<double>(event_time) / 1e9);
                event_time_->Fill(static_cast<double>(event_time) * 1e-9);
            }

            finished_events++;
+1 −0
Original line number Diff line number Diff line
@@ -158,6 +158,7 @@ namespace allpix {

        std::unique_ptr<TFile> modules_file_;

        // Duration in ns
        std::map<Module*, std::atomic_int64_t> module_execution_time_;
        std::map<Module*, Histogram<TH1D>> module_event_time_;
        Histogram<TH1D> event_time_;