summaryrefslogtreecommitdiffstats
path: root/base/watchdog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/watchdog.cc')
-rw-r--r--base/watchdog.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/watchdog.cc b/base/watchdog.cc
index b254577..d78ec0c 100644
--- a/base/watchdog.cc
+++ b/base/watchdog.cc
@@ -127,6 +127,13 @@ void Watchdog::ThreadDelegate::SetThreadName() const {
}
// static
+void Watchdog::ResetStaticData() {
+ AutoLock lock(static_lock_);
+ last_debugged_alarm_time_ = TimeTicks();
+ last_debugged_alarm_delay_ = TimeDelta();
+}
+
+// static
Lock Watchdog::static_lock_; // Lock for access of static data...
// static
TimeTicks Watchdog::last_debugged_alarm_time_ = TimeTicks();