forked from Imagelibrary/rtems
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* timer/timer.c: Removed incorrect comments about ERC32.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2000-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* timer/timer.c: Removed incorrect comments about ERC32.
|
||||||
|
|
||||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||||
|
|||||||
@@ -1,21 +1,9 @@
|
|||||||
/* timer.c
|
/*
|
||||||
|
* This file implements a benchmark timer using the PPC decrement register.
|
||||||
*
|
*
|
||||||
* This file implements a benchmark timer using the General Purpose Timer on
|
* COPYRIGHT (c) 1989-2000.
|
||||||
* the MEC.
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1989-1999.
|
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
|
||||||
* found in found in the file LICENSE in this distribution or at
|
|
||||||
* http://www.OARcorp.com/rtems/license.html.
|
|
||||||
*
|
|
||||||
* Ported to ERC32 implementation of the SPARC by On-Line Applications
|
|
||||||
* Research Corporation (OAR) under contract to the European Space
|
|
||||||
* Agency (ESA).
|
|
||||||
*
|
|
||||||
* ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995.
|
|
||||||
* European Space Agency.
|
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
@@ -34,10 +22,7 @@ void Timer_initialize()
|
|||||||
* Timer runs long and accurate enough not to require an interrupt.
|
* Timer runs long and accurate enough not to require an interrupt.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
Timer_driver_Start_time = PPC_Get_timebase_register();
|
Timer_driver_Start_time = PPC_Get_timebase_register();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AVG_OVERHEAD 24 /* It typically takes 24 instructions */
|
#define AVG_OVERHEAD 24 /* It typically takes 24 instructions */
|
||||||
|
|||||||
Reference in New Issue
Block a user