From 602a0c5951050e7cce645534cb4f136cf9f4fee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Thu, 17 Jun 2021 14:20:54 +0700 Subject: Rename source and build directory --- Source/Timer.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 Source/Timer.cpp (limited to 'Source/Timer.cpp') diff --git a/Source/Timer.cpp b/Source/Timer.cpp deleted file mode 100644 index 80cc5f9..0000000 --- a/Source/Timer.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/**> HEADER FILES <**/ -#include -#include "Timer.h" -#include "Support.h" - - -/********************> Timer <*****/ -void TimerInit(timer* theTimer) -{ - UnsignedWide ms; - - Microseconds(&ms); - - memset(theTimer, 0, sizeof(timer)); - - theTimer->mm_timer_start = ms.lo; - theTimer->mm_timer_elapsed = theTimer->mm_timer_start; -} - -float TimerGetTime(timer* theTimer) -{ - UnsignedWide ms; - - Microseconds(&ms); - - - return( (float) (ms.lo - theTimer->mm_timer_start) * 1000.0f); -} -- cgit v1.2.3