aboutsummaryrefslogtreecommitdiff
path: root/include/dchat/Clock.hpp
blob: 97f78a883a0ef48b6d20538b34dc162cca01477a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "types.hpp"

namespace dchat
{
    class Clock
    {
    public:
        Clock();
        void restart();
        i64 getElapsedTimeMillis() const;
    private:
        i64 startTime;
    };
}