mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +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
|
@ -32,10 +32,10 @@ public:
|
|||
return elapsed_milliseconds();
|
||||
}
|
||||
|
||||
Duration const& origin_time() const { return m_origin_time; }
|
||||
MonotonicTime const& origin_time() const { return m_origin_time; }
|
||||
|
||||
private:
|
||||
Duration m_origin_time {};
|
||||
MonotonicTime m_origin_time { MonotonicTime::now() };
|
||||
bool m_precise { false };
|
||||
bool m_valid { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue