|
@@ -31,6 +31,8 @@ hibernating, phase 2:
|
|
|
|
|
|
#define SHUTDOWN_WAIT_LENGTH 30
|
|
|
|
|
|
+extern long stats_n_seconds_working;
|
|
|
+
|
|
|
static int hibernate_state = HIBERNATE_STATE_LIVE;
|
|
|
|
|
|
* aren't hibernating. */
|
|
@@ -693,6 +695,7 @@ hibernate_end(int new_state) {
|
|
|
|
|
|
hibernate_state = new_state;
|
|
|
hibernate_end_time = 0;
|
|
|
+ stats_n_seconds_working = 0;
|
|
|
}
|
|
|
|
|
|
|