X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fstructure%2Fsubsystem_mgr.hxx;h=60313fd4a3543a8f723f233dc66c660a0ecd2951;hb=c82df0590dd46347e2f1d0dca4cc3712f67f3654;hp=c49d73fd2db8d143bf3ae47ae606c4aa29cc6848;hpb=5f2f95676c4b46e0c2ef3764baa2fd8c87abd238;p=simgear.git diff --git a/simgear/structure/subsystem_mgr.hxx b/simgear/structure/subsystem_mgr.hxx index c49d73fd..60313fd4 100644 --- a/simgear/structure/subsystem_mgr.hxx +++ b/simgear/structure/subsystem_mgr.hxx @@ -29,8 +29,8 @@ #include #include -#include #include +#include #include "SGSmplstat.hxx" @@ -323,6 +323,7 @@ public: virtual bool has_subsystem (const std::string &name) const; void collectDebugTiming(bool collect); + void printTimingStatistics(double minMaxTime=0.0,double minJitter=0.0); /** * @@ -339,8 +340,8 @@ private: virtual ~Member (); virtual void update (double delta_time_sec); - void printTimingInformation(double time); - void printTimingStatistics(); + void printTimingInformation(double time); + void printTimingStatistics(double minMaxTime=0.0,double minJitter=0.0); void updateExecutionTime(double time); double getTimeWarningThreshold(); void collectDebugTiming (bool collect) { collectTimeStats = collect; }; @@ -427,6 +428,7 @@ public: virtual SGSubsystem * get_subsystem(const std::string &name) const; void collectDebugTiming(bool collect); + void printTimingStatistics(double minMaxTime=0.0,double minJitter=0.0); private: