Loading system/gd/os/fuzz/fake_timerfd.cc +1 −1 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ static bool fire_next_event(uint64_t new_clock) { void fake_timerfd_advance(uint64_t ms) { uint64_t new_clock = clock + ms; if (new_clock > max_clock) { if (new_clock < clock) { new_clock = max_clock; } while (fire_next_event(new_clock)) { Loading system/gd/os/linux_generic/alarm.cc +5 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,11 @@ void Alarm::on_fire() { lock.unlock(); std::move(task).Run(); ASSERT(bytes_read == static_cast<ssize_t>(sizeof(uint64_t))); ASSERT(times_invoked == static_cast<uint64_t>(1)); ASSERT_LOG( times_invoked == static_cast<uint64_t>(1), "Invoked number of times:%lu fd:%d", (unsigned long)times_invoked, fd_); } } // namespace os Loading Loading
system/gd/os/fuzz/fake_timerfd.cc +1 −1 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ static bool fire_next_event(uint64_t new_clock) { void fake_timerfd_advance(uint64_t ms) { uint64_t new_clock = clock + ms; if (new_clock > max_clock) { if (new_clock < clock) { new_clock = max_clock; } while (fire_next_event(new_clock)) { Loading
system/gd/os/linux_generic/alarm.cc +5 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,11 @@ void Alarm::on_fire() { lock.unlock(); std::move(task).Run(); ASSERT(bytes_read == static_cast<ssize_t>(sizeof(uint64_t))); ASSERT(times_invoked == static_cast<uint64_t>(1)); ASSERT_LOG( times_invoked == static_cast<uint64_t>(1), "Invoked number of times:%lu fd:%d", (unsigned long)times_invoked, fd_); } } // namespace os Loading