mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
Everywhere: Use MonotonicTime instead of Duration
This is easily identifiable by anyone who uses Duration::now_monotonic, and any downstream users of that data.
This commit is contained in:
parent
b2e7b8cdff
commit
fc5cab5c21
29 changed files with 79 additions and 80 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Time.h>
|
||||
#include <LibCore/EventLoopImplementation.h>
|
||||
|
||||
namespace Core {
|
||||
|
@ -28,7 +29,7 @@ public:
|
|||
virtual void unregister_signal(int handler_id) override;
|
||||
|
||||
void wait_for_events(EventLoopImplementation::PumpMode);
|
||||
static Optional<Duration> get_next_timer_expiration();
|
||||
static Optional<MonotonicTime> get_next_timer_expiration();
|
||||
|
||||
private:
|
||||
void dispatch_signal(int signal_number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue