tviejo / 42Cursus-Webserv

0 stars 1 forks source link

added timer class with a lot of cool features #10

Closed tviejo closed 2 weeks ago

tviejo commented 2 weeks ago

usefull functions : StartTime , StopTimer. PrintElapsedTime display the time and choose the best between s, ms, us, ns double getElapsedTime() return a double with the time bool isTimeElapsed(double time) return true if the time is Elapsed