mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2006-11-17 Joel Sherrill <joel@OARcorp.com>
* timer/timer.c: Update timer overhead for start/stop.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2006-11-17 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* timer/timer.c: Update timer overhead for start/stop.
|
||||||
|
|
||||||
2006-11-16 Joel Sherrill <joel@OARcorp.com>
|
2006-11-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* clock/ckinit.c, console/console.c: Use common clock driver template
|
* clock/ckinit.c, console/console.c: Use common clock driver template
|
||||||
|
|||||||
@@ -53,9 +53,15 @@ void Timer_initialize()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AVG_OVERHEAD 3 /* It typically takes 3.0 microseconds */
|
#if ENABLE_SIS_QUIRKS
|
||||||
|
#define AVG_OVERHEAD 8 /* It typically takes 3.0 microseconds */
|
||||||
/* to start/stop the timer. */
|
/* to start/stop the timer. */
|
||||||
#define LEAST_VALID 2 /* Don't trust a value lower than this */
|
#define LEAST_VALID 9 /* Don't trust a value lower than this */
|
||||||
|
#else
|
||||||
|
#define AVG_OVERHEAD 12 /* It typically takes 3.0 microseconds */
|
||||||
|
/* to start/stop the timer. */
|
||||||
|
#define LEAST_VALID 13 /* Don't trust a value lower than this */
|
||||||
|
#endif
|
||||||
|
|
||||||
int Read_timer()
|
int Read_timer()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user