Functions | |
cy_en_profile_status_t | Cy_Profile_GetRawCount (cy_stc_profile_ctr_ptr_t ctrAddr, uint64_t *result) |
Reports the raw count value for a specified counter. More... | |
cy_en_profile_status_t | Cy_Profile_GetWeightedCount (cy_stc_profile_ctr_ptr_t ctrAddr, uint64_t *result) |
Reports the count value for a specified counter, multiplied by the weight factor for that counter. More... | |
uint64_t | Cy_Profile_GetSumWeightedCounts (cy_stc_profile_ctr_ptr_t ptrsArray[], uint32_t numCounters) |
Reports the weighted sum result of the first n number of counter count values starting from the specified profile counter data structure base address. More... | |
cy_en_profile_status_t Cy_Profile_GetRawCount | ( | cy_stc_profile_ctr_ptr_t | ctrAddr, |
uint64_t * | result | ||
) |
Reports the raw count value for a specified counter.
ctrAddr | The handle to the assigned counter, (returned by calling Cy_Profile_ConfigureCounter()). |
result | Output parameter used to write in the result. |
cy_en_profile_status_t Cy_Profile_GetWeightedCount | ( | cy_stc_profile_ctr_ptr_t | ctrAddr, |
uint64_t * | result | ||
) |
Reports the count value for a specified counter, multiplied by the weight factor for that counter.
ctrAddr | The handle to the assigned counter, (returned by calling Cy_Profile_ConfigureCounter()). |
result | Output parameter used to write in the result. |
uint64_t Cy_Profile_GetSumWeightedCounts | ( | cy_stc_profile_ctr_ptr_t | ptrsArray[], |
uint32_t | numCounters | ||
) |
Reports the weighted sum result of the first n number of counter count values starting from the specified profile counter data structure base address.
Each count value is multiplied by its weighing factor before the summing operation is performed.
ptrsArray | Base address of the profile counter data structure |
numCounters | Number of measured counters in ptrsArray[] |