Public Member Functions | |
def | __init__ (self, start=None) |
def | get_duration (self) |
def | get_end (self) |
def | get_start (self) |
def | set_end (self, end=None) |
def | set_start (self, start=None) |
Public Attributes | |
duration | |
duration_hours | |
duration_minutes | |
duration_seconds | |
end | |
start | |
A class defining timing objects to time the running of the various parts of the performance suite. The class depends on module datetime.
Definition at line 32 of file cmsPerfSuite.py.
Initialize the start time and set the end time to some indefinite time in the future
Definition at line 34 of file cmsPerfSuite.py.
def cmsPerfSuite.PerfSuiteTimer.get_duration | ( | self | ) |
Return the duration between start and end as a dictionary with keys 'hours', 'minutes', 'seconds' to express the total duration in the favourite (most appropriate) unit. The function returns truncated integers.
Definition at line 54 of file cmsPerfSuite.py.
def cmsPerfSuite.PerfSuiteTimer.get_end | ( | self | ) |
def cmsPerfSuite.PerfSuiteTimer.get_start | ( | self | ) |
Definition at line 43 of file cmsPerfSuite.py.
References cmsPerfSuite.PerfSuiteTimer.duration, OrderedSet.OrderedSet.end, cmsPerfSuite.PerfSuiteTimer.end, CombinedSVComputer::IterationRange.end, poly< T >::const_iterator.end, edm::IDVectorMap< ID, C, P >::range.end, PhysicsTools::BitSet::Iterator.end, SCSubClusterMatchesToElement.end, cond::RunInfo_t.end, o2olib.O2ORunMgr.end, esMonitoring.FDOutputListener.end, LHCInfoImpl::LumiSectionFilter.end, svgfig.LineAxis.end, cmsPerfSuite.PerfSuiteTimer.start, StripCompactDigiSimLinks::TrackRecord.start, SiStripMonitorCluster::ClusterProperties.start, cond::RunInfo_t.start, PhysicsTools::VarProcessor::ValueIterator.start, o2olib.O2ORunMgr.start, esMonitoring.FDOutputListener.start, and svgfig.LineAxis.start.
Definition at line 41 of file cmsPerfSuite.py.
References cmsPerfSuite.PerfSuiteTimer.start, StripCompactDigiSimLinks::TrackRecord.start, SiStripMonitorCluster::ClusterProperties.start, cond::RunInfo_t.start, PhysicsTools::VarProcessor::ValueIterator.start, o2olib.O2ORunMgr.start, esMonitoring.FDOutputListener.start, and svgfig.LineAxis.start.
cmsPerfSuite.PerfSuiteTimer.duration |
Definition at line 38 of file cmsPerfSuite.py.
Referenced by cmsPerfSuite.PerfSuiteTimer.set_end().
cmsPerfSuite.PerfSuiteTimer.duration_hours |
Definition at line 58 of file cmsPerfSuite.py.
cmsPerfSuite.PerfSuiteTimer.duration_minutes |
Definition at line 57 of file cmsPerfSuite.py.
cmsPerfSuite.PerfSuiteTimer.duration_seconds |
Definition at line 56 of file cmsPerfSuite.py.
cmsPerfSuite.PerfSuiteTimer.end |
Definition at line 37 of file cmsPerfSuite.py.
Referenced by Types.LuminosityBlockRange.cppID(), Types.EventRange.cppID(), and cmsPerfSuite.PerfSuiteTimer.set_end().
cmsPerfSuite.PerfSuiteTimer.start |
Definition at line 36 of file cmsPerfSuite.py.
Referenced by progressbar.ProgressBar.__next__(), Types.LuminosityBlockRange.cppID(), Types.EventRange.cppID(), cmsPerfSuite.PerfSuiteTimer.set_end(), and cmsPerfSuite.PerfSuiteTimer.set_start().