summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 19:02:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 19:02:13 +0000
commitc832429dcd6ef347263bcf93d11ac350bb8625dc (patch)
treeb6ef6a19e3f51b9e9888cb8f438c034a9d40013c
parentcorrected minor problem in Eric Norum's changes in the bfffo macro. (diff)
downloadrtems-c832429dcd6ef347263bcf93d11ac350bb8625dc.tar.bz2
added nanoseconds per second constant
-rw-r--r--c/src/exec/score/headers/tod.h3
-rw-r--r--c/src/exec/score/include/rtems/score/tod.h3
-rw-r--r--cpukit/score/include/rtems/score/tod.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/c/src/exec/score/headers/tod.h b/c/src/exec/score/headers/tod.h
index 5e3a89756c..a1fc6ee446 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_NANOSECONDS_PER_SECOND 1000000000
#define TOD_NANOSECONDS_PER_MICROSECOND 1000
/*
diff --git a/c/src/exec/score/include/rtems/score/tod.h b/c/src/exec/score/include/rtems/score/tod.h
index 5e3a89756c..a1fc6ee446 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_NANOSECONDS_PER_SECOND 1000000000
#define TOD_NANOSECONDS_PER_MICROSECOND 1000
/*
diff --git a/cpukit/score/include/rtems/score/tod.h b/cpukit/score/include/rtems/score/tod.h
index 5e3a89756c..a1fc6ee446 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_NANOSECONDS_PER_SECOND 1000000000
#define TOD_NANOSECONDS_PER_MICROSECOND 1000
/*