deviceinfo_details_get_processor_core_speed()

Retrieve the speed of a processor core.

Synopsis:

#include <bps/deviceinfo.h>
 
BPS_API int deviceinfo_details_get_processor_core_speed(deviceinfo_details_t *details,
                                                        int index)

Since:

BlackBerry 10.2.0

Arguments:

details

The deviceinfo_details_t structure to get the processor core speed from.

index

The index of the processor core to get the speed of. Must be less than deviceinfo_details_get_processor_core_count().

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The deviceinfo_details_get_processor_core_speed() function gets the speed of the indexed processor core from the specified deviceinfo_details_t structure. The processor core speed is reported in megahertz (MHz).

Returns:

The processor core speed or BPS_FAILURE on error.