CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FastTimerService::StreamData Struct Reference

Public Member Functions

void reset ()
 
 StreamData ()
 

Public Attributes

ModuleInfocurrent_module
 
PathInfocurrent_path
 
SummaryPlots dqm
 
std::vector< SummaryProfilesdqm_byluminosity
 
std::vector
< PathProfilesPerProcess
dqm_paths
 
std::vector
< SummaryPlotsPerProcess
dqm_perprocess
 
std::vector< std::vector
< SummaryProfilesPerProcess > > 
dqm_perprocess_byluminosity
 
ModuleMap< ModuleInfo * > fast_modules
 
ModuleMap< ModuleInfo * > fast_moduletypes
 
std::vector< double > luminosity
 
std::unordered_map
< std::string, ModuleInfo
modules
 
std::unordered_map
< std::string, ModuleInfo
moduletypes
 
PathMap< PathInfopaths
 
FastTimer timer_endpaths
 
FastTimer timer_event
 
FastTimer::Clock::time_point timer_last_path
 
FastTimer::Clock::time_point timer_last_transition
 
FastTimer timer_path
 
FastTimer timer_paths
 
FastTimer timer_source
 
Timing timing
 
std::vector< TimingPerProcesstiming_perprocess
 

Detailed Description

Definition at line 632 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::StreamData::StreamData ( )
inline

Definition at line 667 of file FastTimerService.h.

667  :
668  // timers
669  timer_event(),
670  timer_source(),
671  timer_paths(),
672  timer_endpaths(),
673  timer_path(),
674  timer_last_path(),
676  // time accounting per-event
677  timing(),
679  // luminosity per event
680  luminosity(),
681  // overall plots
682  dqm(),
684  dqm_perprocess(),
686  // plots by path
687  dqm_paths(),
688  // per-path, per-module and per-module-type accounting
689  current_path(nullptr),
690  current_module(nullptr),
691  paths(),
692  modules(),
693  moduletypes(),
694  fast_modules(),
696  { }
FastTimer::Clock::time_point timer_last_path
std::vector< TimingPerProcess > timing_perprocess
FastTimer::Clock::time_point timer_last_transition
ModuleMap< ModuleInfo * > fast_moduletypes
std::vector< SummaryProfiles > dqm_byluminosity
std::unordered_map< std::string, ModuleInfo > modules
std::unordered_map< std::string, ModuleInfo > moduletypes
std::vector< double > luminosity
std::vector< SummaryPlotsPerProcess > dqm_perprocess
ModuleMap< ModuleInfo * > fast_modules
std::vector< std::vector< SummaryProfilesPerProcess > > dqm_perprocess_byluminosity
std::vector< PathProfilesPerProcess > dqm_paths

Member Function Documentation

void FastTimerService::StreamData::reset ( void  )
inline

Definition at line 699 of file FastTimerService.h.

References current_module, current_path, dqm, dqm_byluminosity, dqm_paths, dqm_perprocess, dqm_perprocess_byluminosity, fjr2json::lumi, luminosity, python.multivaluedict::map(), modules, moduletypes, paths, RecoTauValidation_cfi::plots, FastTimer::reset(), FastTimerService::ModuleInfo::reset(), FastTimerService::Timing::reset(), FastTimerService::SummaryPlots::reset(), timer_endpaths, timer_event, timer_last_path, timer_last_transition, timer_path, timer_paths, timer_source, timing, and timing_perprocess.

699  {
700  // timers
701  timer_event.reset();
703  timer_paths.reset();
705  timer_path.reset();
706  timer_last_path = FastTimer::Clock::time_point();
707  timer_last_transition = FastTimer::Clock::time_point();
708  // time accounting per-event
709  timing.reset();
710  for (auto & timing: timing_perprocess)
711  timing.reset();
712  // luminosity per event
713  for (auto & lumi: luminosity)
714  lumi = 0;
715  // overall plots
716  dqm.reset();
717  for (auto & plots: dqm_byluminosity)
718  plots.reset();
719  for (auto & perprocess_plots: dqm_perprocess)
720  perprocess_plots.reset();
721  for (auto & process_plots: dqm_perprocess_byluminosity)
722  for (auto & plots: process_plots)
723  plots.reset();
724  // plots by path
725  for (auto & plots: dqm_paths)
726  plots.reset();
727  // per-path, per-module and per-module-type accounting
728  current_path = nullptr;
729  current_module = nullptr;
730  for (auto & map: paths)
731  for (auto & keyval: map)
732  keyval.second.reset();
733  for (auto & keyval: modules)
734  keyval.second.reset();
735  for (auto & keyval: moduletypes)
736  keyval.second.reset();
737  }
FastTimer::Clock::time_point timer_last_path
std::vector< TimingPerProcess > timing_perprocess
FastTimer::Clock::time_point timer_last_transition
tuple lumi
Definition: fjr2json.py:35
std::vector< SummaryProfiles > dqm_byluminosity
std::unordered_map< std::string, ModuleInfo > modules
std::unordered_map< std::string, ModuleInfo > moduletypes
std::vector< double > luminosity
std::vector< SummaryPlotsPerProcess > dqm_perprocess
std::vector< std::vector< SummaryProfilesPerProcess > > dqm_perprocess_byluminosity
void reset()
Definition: FastTimer.cc:62
std::vector< PathProfilesPerProcess > dqm_paths

Member Data Documentation

ModuleInfo* FastTimerService::StreamData::current_module

Definition at line 660 of file FastTimerService.h.

Referenced by reset().

PathInfo* FastTimerService::StreamData::current_path

Definition at line 659 of file FastTimerService.h.

Referenced by reset().

SummaryPlots FastTimerService::StreamData::dqm

Definition at line 650 of file FastTimerService.h.

Referenced by reset().

std::vector<SummaryProfiles> FastTimerService::StreamData::dqm_byluminosity

Definition at line 651 of file FastTimerService.h.

Referenced by reset().

std::vector<PathProfilesPerProcess> FastTimerService::StreamData::dqm_paths

Definition at line 656 of file FastTimerService.h.

Referenced by reset().

std::vector<SummaryPlotsPerProcess> FastTimerService::StreamData::dqm_perprocess

Definition at line 652 of file FastTimerService.h.

Referenced by reset().

std::vector<std::vector<SummaryProfilesPerProcess> > FastTimerService::StreamData::dqm_perprocess_byluminosity

Definition at line 653 of file FastTimerService.h.

Referenced by reset().

ModuleMap<ModuleInfo *> FastTimerService::StreamData::fast_modules

Definition at line 664 of file FastTimerService.h.

ModuleMap<ModuleInfo *> FastTimerService::StreamData::fast_moduletypes

Definition at line 665 of file FastTimerService.h.

std::vector<double> FastTimerService::StreamData::luminosity

Definition at line 647 of file FastTimerService.h.

Referenced by reset().

std::unordered_map<std::string, ModuleInfo> FastTimerService::StreamData::modules

Definition at line 662 of file FastTimerService.h.

Referenced by reset().

std::unordered_map<std::string, ModuleInfo> FastTimerService::StreamData::moduletypes

Definition at line 663 of file FastTimerService.h.

Referenced by reset().

PathMap<PathInfo> FastTimerService::StreamData::paths

Definition at line 661 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_endpaths

Definition at line 637 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_event

Definition at line 634 of file FastTimerService.h.

Referenced by reset().

FastTimer::Clock::time_point FastTimerService::StreamData::timer_last_path

Definition at line 639 of file FastTimerService.h.

Referenced by reset().

FastTimer::Clock::time_point FastTimerService::StreamData::timer_last_transition

Definition at line 640 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_path

Definition at line 638 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_paths

Definition at line 636 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_source

Definition at line 635 of file FastTimerService.h.

Referenced by reset().

Timing FastTimerService::StreamData::timing

Definition at line 643 of file FastTimerService.h.

Referenced by reset().

std::vector<TimingPerProcess> FastTimerService::StreamData::timing_perprocess

Definition at line 644 of file FastTimerService.h.

Referenced by reset().