Timer.h 375 Bytes
Newer Older
fmg005's avatar
fmg005 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef TIMER_H
#define TIME_H

#include <chrono>
#include <iostream>
#include <string>

using namespace std::chrono;

namespace CLA {
    class Timer {
        private:
            steady_clock::time_point start_timer;
            steady_clock::time_point end_timer;
            time_t duration; 

        public:
            Timer();
            ~Timer();
    };
}

#endif