Changeset 24bf11e in rtems for cpukit/sapi/Makefile.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/Makefile.am

    r382ea27b r24bf11e  
    77include_rtems_HEADERS += include/rtems/chain.h
    88include_rtems_HEADERS += include/rtems/config.h
     9include_rtems_HEADERS += include/rtems/counter.h
    910include_rtems_HEADERS += include/rtems/extension.h
    1011include_rtems_HEADERS += include/rtems/extensionimpl.h
     
    3334    src/fatal2.c src/fatalsrctext.c
    3435libsapi_a_SOURCES += src/chainsmp.c
     36libsapi_a_SOURCES += src/cpucounterconverter.c
     37libsapi_a_SOURCES += src/delayticks.c
     38libsapi_a_SOURCES += src/delaynano.c
    3539libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
    3640
Note: See TracChangeset for help on using the changeset viewer.