From 7c55e065f9f1c45a0fccaba341703210ee0b2527 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 30 May 1996 20:48:33 +0000 Subject: Added nanoseconds constant --- c/src/exec/score/headers/tod.h | 5 +++-- c/src/exec/score/include/rtems/score/tod.h | 5 +++-- cpukit/score/include/rtems/score/tod.h | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/c/src/exec/score/headers/tod.h b/c/src/exec/score/headers/tod.h index 3dd4e6d823..5e3a89756c 100644 --- a/c/src/exec/score/headers/tod.h +++ b/c/src/exec/score/headers/tod.h @@ -39,8 +39,9 @@ extern "C" { #define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY) -#define TOD_MICROSECONDS_PER_SECOND 1000000 -#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_MICROSECONDS_PER_SECOND 1000000 +#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_NANOSECONDS_PER_MICROSECOND 1000 /* * The following constant define the earliest year to which an diff --git a/c/src/exec/score/include/rtems/score/tod.h b/c/src/exec/score/include/rtems/score/tod.h index 3dd4e6d823..5e3a89756c 100644 --- a/c/src/exec/score/include/rtems/score/tod.h +++ b/c/src/exec/score/include/rtems/score/tod.h @@ -39,8 +39,9 @@ extern "C" { #define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY) -#define TOD_MICROSECONDS_PER_SECOND 1000000 -#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_MICROSECONDS_PER_SECOND 1000000 +#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_NANOSECONDS_PER_MICROSECOND 1000 /* * The following constant define the earliest year to which an diff --git a/cpukit/score/include/rtems/score/tod.h b/cpukit/score/include/rtems/score/tod.h index 3dd4e6d823..5e3a89756c 100644 --- a/cpukit/score/include/rtems/score/tod.h +++ b/cpukit/score/include/rtems/score/tod.h @@ -39,8 +39,9 @@ extern "C" { #define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY) -#define TOD_MICROSECONDS_PER_SECOND 1000000 -#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_MICROSECONDS_PER_SECOND 1000000 +#define TOD_MILLISECONDS_PER_SECOND 1000 +#define TOD_NANOSECONDS_PER_MICROSECOND 1000 /* * The following constant define the earliest year to which an -- cgit v1.2.3