Searched refs:Watchdog (Results 1 - 4 of 4) sorted by relevance

/external/chromium/base/threading/
H A Dwatchdog.h5 // 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.
32 class BASE_API Watchdog { class in namespace:base
34 // Constructor specifies how long the Watchdog will wait before alarming.
35 Watchdog(const TimeDelta& duration,
38 virtual ~Watchdog();
59 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) {
65 Watchdog* watchdog
[all...]
H A Dwatchdog.cc14 Watchdog::Watchdog(const TimeDelta& duration, function in class:base::Watchdog
33 Watchdog::~Watchdog() {
44 void Watchdog::Arm() {
48 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) {
53 void Watchdog::ArmAtStartTime(const TimeTicks start_time) {
65 void Watchdog::Disarm() {
72 void Watchdog::Alarm() {
73 DVLOG(1) << "Watchdog alarme
[all...]
H A Dwatchdog_unittest.cc20 class WatchdogCounter : public Watchdog {
25 : Watchdog(duration, thread_watched_name, enabled), alarm_counter_(0) {
32 Watchdog::Alarm();
46 Watchdog::ResetStaticData();
57 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false);
58 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true);
63 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false);
69 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true);
/external/chromium/chrome/browser/
H A Djankometer.cc58 class JankWatchdog : public base::Watchdog {
63 : Watchdog(duration, thread_watched_name, enabled),
74 Watchdog::Alarm();

Completed in 91 milliseconds