Many, many more comments
This commit is contained in:
@@ -3,12 +3,17 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
// class to keep track of the "simulation time" (i.e. number of processed events * Activity)
|
||||
class Timer {
|
||||
public:
|
||||
// Constructor; initializes time to 0
|
||||
Timer();
|
||||
|
||||
// getter for the time
|
||||
double time() const;
|
||||
// increase the time by time_s (time in s)
|
||||
void increaseTimestep(double time_s);
|
||||
// set time to time_s
|
||||
void setTime(double time_s);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user