aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/timestat.hh
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.hh')
-rw-r--r--Carpet/CarpetLib/src/timestat.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh
index 896b94236..a93e5717a 100644
--- a/Carpet/CarpetLib/src/timestat.hh
+++ b/Carpet/CarpetLib/src/timestat.hh
@@ -15,13 +15,19 @@ public:
double wtime2;
double wmin;
double wmax;
+
+ double bytes;
+ double bytes2;
+ double bmin;
+ double bmax;
+
double count;
public:
timestat ();
private:
- void addstat (double const t);
+ void addstat (double t, double b);
private:
bool running;
@@ -29,7 +35,7 @@ private:
public:
void start();
- void stop();
+ void stop(double bytes = 0.0);
};
ostream& operator<< (ostream& os, const timestat& wt);