Changeset 24bf11e in rtems for c/src/lib/libbsp/arm/lm3s69xx


Ignore:
Timestamp:
Feb 12, 2014, 9:31:38 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, 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/lm3s69xx/Makefile.am

    r382ea27b r24bf11e  
    6969libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
    7070libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
     71libbsp_a_SOURCES += ../../shared/cpucounterread.c
     72libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
    7173libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
    7274libbsp_a_SOURCES += ../../shared/sbrk.c
Note: See TracChangeset for help on using the changeset viewer.