mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
LibCore: Expose origin timestamp of Core::ElapsedTime
This commit is contained in:
parent
97d0acc5b6
commit
62785b7872
2 changed files with 6 additions and 4 deletions
|
@ -38,9 +38,11 @@ public:
|
|||
void start();
|
||||
int elapsed() const;
|
||||
|
||||
const struct timeval& origin_time() const { return m_origin_time; }
|
||||
|
||||
private:
|
||||
bool m_valid { false };
|
||||
struct timeval m_start_time {
|
||||
struct timeval m_origin_time {
|
||||
0, 0
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue