arm-trusted-firmware/include
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
..
bl1 FWU: Add Generic Firmware Update framework support in BL1 2015-12-09 17:41:18 +00:00
bl31 PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops 2016-05-25 14:00:00 +01:00
bl32 Enable use of FIQs and IRQs as TSP interrupts 2015-12-04 12:02:12 +00:00
common Merge pull request #636 from soby-mathew/sm/cpu_ctx_rem_aarch32_regs 2016-06-03 15:12:37 +01:00
drivers Merge pull request #629 from ljerry/tf_issue_398 2016-06-13 13:50:58 +01:00
lib Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
plat Allow dynamic overriding of ROTPK verification 2016-06-03 18:27:36 +01:00