moved constants here

This commit is contained in:
Jeff Hill
1999-08-05 17:15:38 +00:00
parent 9132350c55
commit 43ebcdcae0

View File

@@ -39,6 +39,14 @@
#include <osiTime.h>
#include <envDefs.h>
//
// useful public constants
//
const unsigned osiTime::mSecPerSec = 1000u;
const unsigned osiTime::uSecPerSec = 1000u*osiTime::mSecPerSec;
const unsigned osiTime::nSecPerSec = 1000u*osiTime::uSecPerSec;
const unsigned osiTime::nSecPerUSec = 1000u;
const unsigned osiTime::secPerMin = 60u;
//
// this is defined by POSIX 1003.1b (POSIX real time) compilant OS