PDK API Guide for J721E
LoadP.h File Reference

Introduction

Load module to measure CPU Load and Task Load for the RTOS Porting Interface.

============================================================================


Go to the source code of this file.

Data Structures

struct  LoadP_Stats
 Load statistics info. More...
 

Enumerations

enum  LoadP_Status { LoadP_OK = 0, LoadP_FAILURE = (-(int32_t)1) }
 Status codes for LoadP APIs. More...
 

Functions

void LoadP_reset (void)
 Function to Reset load statistics. More...
 
LoadP_Status LoadP_getTaskLoad (TaskP_Handle taskHandle, LoadP_Stats *stats)
 Function to get task load statistics. More...
 
uint32_t LoadP_getCPULoad (void)
 Function to get CPU load in percentage. More...
 
void LoadP_update (void)
 Update load statistics. More...