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
  • c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am

    r382ea27b r24bf11e  
    8585libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
    8686libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
     87libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
    8788libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
    8889libbsp_a_SOURCES += ../../shared/sbrk.c
Note: See TracChangeset for help on using the changeset viewer.