Added standby mode to reduce idling cpu load to near 0%
This commit is contained in:
11
Tubio/TimeUnits.h
Normal file
11
Tubio/TimeUnits.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
/* These are APPROXIMATIONS */
|
||||
/* UNITS ARE SECONDS */
|
||||
#define SECONDS(x) (x)
|
||||
#define MINUTES(x) (SECONDS(60) * x)
|
||||
#define HOURS(x) (MINUTES(60) * x)
|
||||
#define DAYS(x) (HOURS(24) * x)
|
||||
#define WEEKS(x) (DAYS(7) * x)
|
||||
#define MONTHS(x) (WEEKS(4) * x)
|
||||
#define YEARS(x) (MONTHS(12) * x)
|
||||
Reference in New Issue
Block a user