X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fticks.h;h=3c89a2e884f900bea71c0469430f94ae3e9c1b69;hp=4f9ef0b86f933faa75ce957940c5d4a8f43f385c;hb=8baa4b2f0b559c9c48fba41b8dc4a4d5f92f728b;hpb=ce53f20f9a78b01966c91838ee3b80b4c674bc35 diff --git a/src/ticks.h b/src/ticks.h index 4f9ef0b..3c89a2e 100644 --- a/src/ticks.h +++ b/src/ticks.h @@ -20,13 +20,15 @@ /// ***** Public Methods ***** +typedef long int MICRO; + // returns the current seconds from program start -long int tickCountSec(); +MICRO tickCountSec(); // returns the current milliseconds from program start -long int tickCountMilli(); +MICRO tickCountMilli(); // returns the current microseconds from program start -long int tickCountMicro(); +MICRO tickCountMicro(); #endif // TICKS_H