timermanager: Use decimal ints, not floats or hex.

This commit is contained in:
joevt 2024-08-27 04:43:18 -07:00 committed by dingusdev
parent f09710a5f7
commit c6060ad812

View File

@ -33,11 +33,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
using namespace std;
#define NS_PER_SEC 1E9
#define USEC_PER_SEC 1E6
#define NS_PER_USEC 1000UL
#define NS_PER_MSEC 1E6
#define ONE_BILLION_NS 0x3B9ACA00UL
#define NS_PER_SEC 1000000000
#define USEC_PER_SEC 1000000
#define NS_PER_USEC 1000
#define NS_PER_MSEC 1000000
#define ONE_BILLION_NS 1000000000
#define USECS_TO_NSECS(us) (us) * NS_PER_USEC
#define MSECS_TO_NSECS(ms) (ms) * NS_PER_MSEC