40 #ifndef __OPENFLUID_MACHINE_SIMULATIONPROFILER_HPP__    41 #define __OPENFLUID_MACHINE_SIMULATIONPROFILER_HPP__    67     typedef std::map<openfluid::base::SimulationStatus::SimulationStage,TimeResolution_t>
    68       CumulativeSimulatorProfile_t;
    70     typedef std::map<openfluid::ware::WareID_t,CumulativeSimulatorProfile_t> CumulativeModelProfile_t;
    72     typedef std::map<openfluid::ware::WareID_t,TimeResolution_t> CurrentTimeIndexModelProfile_t;
    74     typedef WareIDSequence_t CurrentTimeIndexModelSequence_t;
    76     CumulativeModelProfile_t m_CumulativeModelProfile;
    78     CurrentTimeIndexModelProfile_t m_CurrentTimeIndexModelProfile;
    79     CurrentTimeIndexModelSequence_t m_CurrentTimeIndexModelSequence;
    83     const WareIDSequence_t m_OriginalModelSequence;
    87     std::ofstream m_CurrentSequenceFile;
    89     std::ofstream m_CurrentProfileFile;
    91     static double getDurationInDecimalSeconds(
const TimeResolution_t& Duration);
    93     void flushCurrentProfileToFiles();
   104                      const TimeResolution_t& Duration);
 std::chrono::nanoseconds TimeResolution_t
Definition: SimulationProfiler.hpp:62
std::uint64_t TimeIndex_t
Definition: TypeDefs.hpp:298
std::string WareID_t
Definition: TypeDefs.hpp:49
std::list< openfluid::ware::WareID_t > WareIDSequence_t
Definition: SimulationProfiler.hpp:60
Definition: SimulationProfiler.hpp:56
Definition: SimulationStatus.hpp:55
Definition: ApplicationException.hpp:47
SimulationStage
Definition: SimulationStatus.hpp:59
#define OPENFLUID_API
Definition: dllexport.hpp:86