mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 15:29:58 +00:00
timermanager: Use decimal ints, not floats or hex.
This commit is contained in:
parent
f09710a5f7
commit
c6060ad812
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user