41 #ifndef __OPENFLUID_MACHINE_SIMULATIONPROFILER_HPP__    42 #define __OPENFLUID_MACHINE_SIMULATIONPROFILER_HPP__    72     typedef std::map<openfluid::base::SimulationStatus::SimulationStage,TimeResolution_t>
    73       CumulativeSimulatorProfile_t;
    75     typedef std::map<openfluid::ware::WareID_t,CumulativeSimulatorProfile_t> CumulativeModelProfile_t;
    77     typedef std::map<openfluid::ware::WareID_t,TimeResolution_t> CurrentTimeIndexModelProfile_t;
    79     typedef WareIDSequence_t CurrentTimeIndexModelSequence_t;
    81     CumulativeModelProfile_t m_CumulativeModelProfile;
    83     CurrentTimeIndexModelProfile_t m_CurrentTimeIndexModelProfile;
    84     CurrentTimeIndexModelSequence_t m_CurrentTimeIndexModelSequence;
    89     const WareIDSequence_t m_OriginalModelSequence;
    93     std::ofstream m_CurrentSequenceFile;
    95     std::ofstream m_CurrentProfileFile;
    97     static double getDurationInDecimalSeconds(
const TimeResolution_t& Duration);
    99     void flushCurrentProfileToFiles();
   109                      const TimeResolution_t& Duration);
 
unsigned long long TimeIndex_t
Definition: DateTime.hpp:62
#define OPENFLUID_API
Definition: dllexport.hpp:87
std::string WareID_t
Definition: TypeDefs.hpp:50
std::chrono::nanoseconds TimeResolution_t
Definition: SimulationProfiler.hpp:68
Definition: SimulationStatus.hpp:55
std::list< openfluid::ware::WareID_t > WareIDSequence_t
Definition: SimulationProfiler.hpp:66
SimulationStage
Definition: SimulationStatus.hpp:59
Definition: ApplicationException.hpp:47
Definition: SimulationProfiler.hpp:62