Files
karl/include/simulation/timer.h
T

19 lines
245 B
C++
Executable File

#ifndef TIMER_H
#define TIMER_H
#include <iostream>
class Timer {
public:
Timer();
double time() const;
void increaseTimestep(double time_s);
void setTime(double time_s);
private:
double current_time_s_;
};
#endif /* TIMER_H */