arm-trusted-firmware/lib
Yatharth Kochar a31d8983f4 Add Performance Measurement Framework(PMF)
This patch adds Performance Measurement Framework(PMF) in the
ARM Trusted Firmware. PMF is implemented as a library and the
SMC interface is provided through ARM SiP service.

The PMF provides capturing, storing, dumping and retrieving the
time-stamps, by enabling the development of services by different
providers, that can be easily integrated into ARM Trusted Firmware.
The PMF capture and retrieval APIs can also do appropriate cache
maintenance operations to the timestamp memory when the caller
indicates so.

`pmf_main.c` consists of core functions that implement service
registration, initialization, storing, dumping and retrieving
the time-stamp.
`pmf_smc.c` consists SMC handling for registered PMF services.
`pmf.h` consists of the macros that can be used by the PMF service
providers to register service and declare time-stamp functions.
`pmf_helpers.h` consists of internal macros that are used by `pmf.h`

By default this feature is disabled in the ARM trusted firmware.
To enable it set the boolean flag `ENABLE_PMF` to 1.

NOTE: The caller is responsible for specifying the appropriate cache
maintenance flags and for acquiring/releasing appropriate locks
before/after capturing/retrieving the time-stamps.

Change-Id: Ib45219ac07c2a81b9726ef6bd9c190cc55e81854
2016-06-16 08:31:42 +01:00
..
aarch64 Refactor the xlat_tables library code 2016-04-13 12:06:23 +01:00
cpus Add support for ARM Cortex-A73 MPCore Processor 2016-06-01 12:07:41 +01:00
libfdt Minor libfdt changes to enable TF integration 2016-06-03 14:21:03 +01:00
locks Re-design bakery lock memory allocation and algorithm 2015-09-11 16:19:21 +01:00
pmf Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
semihosting Fix bug in semihosting write function 2015-07-16 20:36:41 +01:00
stdlib Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
xlat_tables Fix computation of L1 bitmask in the translation table lib 2016-04-26 14:59:38 +01:00