diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-12 10:31:38 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-14 10:28:29 +0100 |
commit | 24bf11eca11947d961cc9bb5f7d92dabff169e93 (patch) | |
tree | b28f3aa8a21df91e8feaf324613aa76460559837 /cpukit/sapi/preinstall.am | |
parent | bsps/arm: Fix Cortex-A9 MPCore nanoseconds handler (diff) | |
download | rtems-24bf11eca11947d961cc9bb5f7d92dabff169e93.tar.bz2 |
score: Add CPU counter support
Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.
Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.
Diffstat (limited to 'cpukit/sapi/preinstall.am')
-rw-r--r-- | cpukit/sapi/preinstall.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/sapi/preinstall.am b/cpukit/sapi/preinstall.am index 2b247bce58..79eceef405 100644 --- a/cpukit/sapi/preinstall.am +++ b/cpukit/sapi/preinstall.am @@ -40,6 +40,10 @@ $(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rte $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h +$(PROJECT_INCLUDE)/rtems/counter.h: include/rtems/counter.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/counter.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/counter.h + $(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h |