XPS Unified Programmer’s Manual
7.2.1.4 ControllerMotionKernelTimeLoadGet
Name
ControllerMotionKernelTimeLoadGet – Gets controller motion kernel time load.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
Description
This function gets the last exact value of the controller’s motion kernel time load (total ,
corrector, profier and servitudes calculation time).
CorrectorTimeLoad = CorrectorCalculationTime/CorrectorISRPeriod
ProfilerTimeLoad = ProfilerCalculationTime/CorrectorISRPeriod
/ProfileGeneratorISRRatio
ServitudesTimeLoad = ServitudesCalculationTime/CorrectorISRPeriod
/ServitudesISRRatio
TotalTimeLoad = CorrectorTimeLoad + ProfilerTimeLoad + ServitudesTimeLoad
NOTE
Refer to system.ref file to get CorrectorISRPeriod, ProfileGeneratorISRRatio and
ServitudesISRRatio.
Prototype
int ControllerMotionKernelTimeLoadGet(
int SocketID,
double * CPUTotalLoadRatio,
double * CPUCorrectorLoadRatio,
double * CPUProfilerLoadRatio,
double * CPUServitudesLoadRatio
)
Input parameters
SocketID int Socket identifier used in each function.
Output parameters
CPUTotalLoadRatio double * Controller motion kernel total CPU time load.
CPUCorrectorLoadRatio double * Controller motion kernel corrector CPU time
load.
CPUProfilerLoadRatio double * Controller motion kernel profiler CPU time load.
CPUServitudesLoadRatio double * Controller motion kernel servitudes CPU time
load.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
EDH0373En1023 — 01/18 46