source: rtems/cpukit/score/cpu/v850/ @ ee42943

Last change on this file since ee42943 was 24bf11e, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 12, 2014 at 9:31:38 AM

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.

  • Property mode set to 100644
File size: 716 bytes
1include $(top_srcdir)/automake/
3include_rtemsdir = $(includedir)/rtems
4include_rtems_HEADERS = rtems/asm.h
6include_rtems_scoredir = $(includedir)/rtems/score
7include_rtems_score_HEADERS  = rtems/score/cpu.h
8include_rtems_score_HEADERS += rtems/score/v850.h
9include_rtems_score_HEADERS += rtems/score/cpu_asm.h rtems/score/types.h
10include_rtems_score_HEADERS += rtems/score/cpuatomic.h
12noinst_LIBRARIES = libscorecpu.a
13libscorecpu_a_SOURCES  = cpu.c
14libscorecpu_a_SOURCES += cpu_asm.S
15libscorecpu_a_SOURCES += ../no_cpu/cpucounterread.c
16libscorecpu_a_SOURCES += v850-exception-frame-print.c
17libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
19include $(srcdir)/
20include $(top_srcdir)/automake/
Note: See TracBrowser for help on using the repository browser.