Lines Matching refs:Watchdog
5 #include "base/threading/watchdog.h"
39 Watchdog::Watchdog(const TimeDelta& duration,
57 // Notify watchdog thread, and wait for it to finish up.
58 Watchdog::~Watchdog() {
67 void Watchdog::Cleanup() {
77 bool Watchdog::IsJoinable() {
84 void Watchdog::Arm() {
88 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) {
92 // Start clock for watchdog.
93 void Watchdog::ArmAtStartTime(const TimeTicks start_time) {
99 // Force watchdog to wake up, and go to sleep with the timer ticking with the
104 // Disable watchdog so that it won't do anything when time expires.
105 void Watchdog::Disarm() {
108 // We don't need to signal, as the watchdog will eventually wake up, and it
112 void Watchdog::Alarm() {
113 DVLOG(1) << "Watchdog alarmed for " << thread_watched_name_;
117 // Internal private methods that the watchdog thread uses.
119 void Watchdog::ThreadDelegate::ThreadMain() {
170 void Watchdog::ThreadDelegate::SetThreadName() const {
171 std::string name = watchdog_->thread_watched_name_ + " Watchdog";
173 DVLOG(1) << "Watchdog active: " << name;
177 void Watchdog::ResetStaticData() {