Searched refs:Watchdog (Results 1 - 3 of 3) sorted by relevance
/external/chromium/base/ |
H A D | watchdog.cc | 17 Watchdog::Watchdog(const TimeDelta& duration, function in class:Watchdog 36 Watchdog::~Watchdog() { 47 void Watchdog::Arm() { 51 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { 56 void Watchdog::ArmAtStartTime(const TimeTicks start_time) { 68 void Watchdog::Disarm() { 78 void Watchdog::ThreadDelegate::ThreadMain() { 123 void Watchdog [all...] |
H A D | watchdog_unittest.cc | 5 // Tests for Watchdog class. 20 class WatchdogCounter : public Watchdog { 25 : Watchdog(duration, thread_watched_name, enabled), alarm_counter_(0) { 32 Watchdog::Alarm(); 46 Watchdog::ResetStaticData(); 56 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 57 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 62 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 68 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true);
|
H A D | watchdog.h | 5 // The Watchdog class creates a second thread that can Alarm if a specific 7 // specified at construction time. The Watchdog may be used many times by 9 // The Watchdog is typically used under a debugger, where the stack traces on 10 // other threads can be examined if/when the Watchdog alarms. 29 class Watchdog { class 31 // Constructor specifies how long the Watchdog will wait before alarming. 32 Watchdog(const base::TimeDelta& duration, 35 virtual ~Watchdog(); 48 DLOG(INFO) << "Watchdog alarmed for " << thread_watched_name_; 58 explicit ThreadDelegate(Watchdog* watchdo [all...] |
Completed in 43 milliseconds