diff options
Diffstat (limited to 'include/posix/driver')
-rw-r--r-- | include/posix/driver/uptime.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/posix/driver/uptime.h b/include/posix/driver/uptime.h new file mode 100644 index 0000000..c92ccf1 --- /dev/null +++ b/include/posix/driver/uptime.h @@ -0,0 +1,17 @@ +#ifndef UPTIME_H +#define UPTIME_H + +#include <stdint.h> + +class Uptime { + private: + Uptime(const Uptime ©); + + public: + Uptime () {} + uint64_t get(); +}; + +extern Uptime uptime; + +#endif |