FACT++  1.0
int DataLogger::SetStatsPeriod ( const Event evt)
private

set the statistics update period duration. 0 disables the statistics

Parameters
evtthe current event. contains the new duration.
Returns
the new state. Which, in that case, is the current state

Definition at line 1694 of file datalogger.cc.

References StateMachineImp::GetCurrentState(), EventImp::GetShort(), and DimWriteStatistics::SetUpdateInterval().

Referenced by DataLogger().

1695 {
1697  return GetCurrentState();
1698 }
DimWriteStatistics fFilesStats
Definition: datalogger.cc:235
int GetCurrentState() const
return the current state of the machine
void SetUpdateInterval(const int16_t millisec)
int16_t GetShort() const
Definition: EventImp.h:91

+ Here is the call graph for this function:

+ Here is the caller graph for this function: