Changeset 24bf11e in rtems for cpukit/sapi/preinstall.am


Ignore:
Timestamp:
Feb 12, 2014, 9:31:38 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6f90ef7
Parents:
382ea27b
git-author:
Sebastian Huber <sebastian.huber@…> (02/12/14 09:31:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/14/14 09:28:29)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/preinstall.am

    r382ea27b r24bf11e  
    4040        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
    4141PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
     42
     43$(PROJECT_INCLUDE)/rtems/counter.h: include/rtems/counter.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
     44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/counter.h
     45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/counter.h
    4246
    4347$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
Note: See TracChangeset for help on using the changeset viewer.