A.12.5 CADIProfiling::CADIProfileGetExecution()

This method gets the results of a profiling session for executable code.

If called before profiling is stopped or before a legal set of regions has been established, this call must return CADI_STATUS_GeneralError.

virtual CADIReturn_t CADIProfiling::CADIProfileGetExecution(
                                    CADIProfileResultType_t *type,
                                    uint32_t regIndex, uint32_t regionSlots,
                                    uint32_t *regionCount,
                                    CADIProfileResults_t *region) = 0;
type
indicates whether percentage statistics or an absolute count is being returned.
regIndex
is the index into the internal buffer that the target holds.
regionSlots
is the number of spaces that were requested to be filled. The target shall not fill more than this number of elements in the region array.
regionCount
is the actual number of regions set up by CADIProfileSetup plus one. The additional count indicates the other category.
region
corresponds to the regions set up by CADIProfileSetup. The caller allocates and deallocates the array, which the target fills.
Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.