Searched refs:SlowOperationAlarm (Results 1 – 2 of 2) sorted by relevance
33 class SlowOperationAlarm {37 SlowOperationAlarm(absl::Duration timeout, std::string msg,39 ~SlowOperationAlarm();43 SlowOperationAlarm(const SlowOperationAlarm&) = delete;44 SlowOperationAlarm(const SlowOperationAlarm&&) = delete;45 SlowOperationAlarm& operator=(const SlowOperationAlarm&) = delete;46 SlowOperationAlarm& operator=(const SlowOperationAlarm&&) = delete;68 ABSL_MUST_USE_RESULT std::unique_ptr<SlowOperationAlarm> SlowCompilationAlarm(
33 std::list<SlowOperationAlarm*>* outstanding_alarms ABSL_PT_GUARDED_BY(mu) =66 SlowOperationAlarm* next_alarm = *absl::c_min_element( in AlarmLoop()68 [](const SlowOperationAlarm* a, const SlowOperationAlarm* b) { in AlarmLoop()75 void ScheduleAlarm(SlowOperationAlarm* alarm) { in ScheduleAlarm()78 outstanding_alarms = new std::list<SlowOperationAlarm*>(); in ScheduleAlarm()88 void UnscheduleAlarm(const SlowOperationAlarm* alarm) { in UnscheduleAlarm()99 SlowOperationAlarm::SlowOperationAlarm(absl::Duration timeout, string msg, in SlowOperationAlarm() function in xla::SlowOperationAlarm107 SlowOperationAlarm::~SlowOperationAlarm() { UnscheduleAlarm(this); } in ~SlowOperationAlarm()109 std::unique_ptr<SlowOperationAlarm> SlowCompilationAlarm( in SlowCompilationAlarm()123 return absl::make_unique<SlowOperationAlarm>( in SlowCompilationAlarm()[all …]