Ignore:
Timestamp:
Feb 12, 2014, 9:31:38 AM (8 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
  • cpukit/score/cpu/v850/Makefile.am

    r382ea27b r24bf11e  
    1313libscorecpu_a_SOURCES  = cpu.c
    1414libscorecpu_a_SOURCES += cpu_asm.S
     15libscorecpu_a_SOURCES += ../no_cpu/cpucounterread.c
    1516libscorecpu_a_SOURCES += v850-exception-frame-print.c
    1617libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
Note: See TracChangeset for help on using the changeset viewer.