Loading src/TNL/Benchmarks/Benchmarks.h +3 −5 Original line number Diff line number Diff line Loading @@ -73,11 +73,11 @@ class Benchmark void setup( const Config::ParameterContainer& parameters ); // TODO: ensure that this is not called in the middle of the benchmark // (or just remove it completely?) void setLoops( int loops ); void setMinTime( const double& minTime ); void setMinTime( double minTime ); bool isResetingOn() const; // Sets metadata columns -- values used for all subsequent rows until // the next call to this function. Loading Loading @@ -143,8 +143,6 @@ class Benchmark double getBaseTime() const; bool isResetingOn() const; protected: Logger logger; Loading src/TNL/Benchmarks/Benchmarks.hpp +9 −9 Original line number Diff line number Diff line Loading @@ -63,11 +63,19 @@ setLoops( int loops ) template< typename Logger > void Benchmark< Logger >:: setMinTime( const double& minTime ) setMinTime( double minTime ) { this->minTime = minTime; } template< typename Logger > bool Benchmark< Logger >:: isResetingOn() const { return reset; } template< typename Logger > void Benchmark< Logger >:: Loading Loading @@ -222,13 +230,5 @@ getBaseTime() const return baseTime; } template< typename Logger > bool Benchmark< Logger >:: isResetingOn() const { return reset; } } // namespace Benchmarks } // namespace TNL Loading
src/TNL/Benchmarks/Benchmarks.h +3 −5 Original line number Diff line number Diff line Loading @@ -73,11 +73,11 @@ class Benchmark void setup( const Config::ParameterContainer& parameters ); // TODO: ensure that this is not called in the middle of the benchmark // (or just remove it completely?) void setLoops( int loops ); void setMinTime( const double& minTime ); void setMinTime( double minTime ); bool isResetingOn() const; // Sets metadata columns -- values used for all subsequent rows until // the next call to this function. Loading Loading @@ -143,8 +143,6 @@ class Benchmark double getBaseTime() const; bool isResetingOn() const; protected: Logger logger; Loading
src/TNL/Benchmarks/Benchmarks.hpp +9 −9 Original line number Diff line number Diff line Loading @@ -63,11 +63,19 @@ setLoops( int loops ) template< typename Logger > void Benchmark< Logger >:: setMinTime( const double& minTime ) setMinTime( double minTime ) { this->minTime = minTime; } template< typename Logger > bool Benchmark< Logger >:: isResetingOn() const { return reset; } template< typename Logger > void Benchmark< Logger >:: Loading Loading @@ -222,13 +230,5 @@ getBaseTime() const return baseTime; } template< typename Logger > bool Benchmark< Logger >:: isResetingOn() const { return reset; } } // namespace Benchmarks } // namespace TNL