mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:15:08 +00:00
14 lines
186 B
C++
14 lines
186 B
C++
#pragma once
|
|
|
|
#include <time.h>
|
|
|
|
class GElapsedTimer {
|
|
public:
|
|
GElapsedTimer() { }
|
|
|
|
void start();
|
|
int elapsed() const;
|
|
|
|
private:
|
|
struct timeval m_start_time { 0, 0 };
|
|
};
|