
Software specification for Kontron EAPI
12
Parameters:
Handle of the selected board
Pointer to the type of current CPU performance. The
type is given by a number (0 – 3 where:
0 - high performance
1 - power save mode
2 - on demand mode
3 - conservative mode
) .
Supported only on Linux
Pointer to current CPU performance in percentage.
Supported only on Windows
2.4.4 KEApiSetCpuPerformance
KEAPI_CALLTYPE KEAPI_UINT32 KEApiSetCpuPerformance (
KEAPI_UINT32 boardHandle,
KEAPI_INT8 performanceType,
KEAPI_INT8 performancePercentage
);
Description:
Linux: Allows you to set the type of the CPU performance
high performance: CPU_PERFORMANCE_HIGH, 0
power save mode: CPU_PERFORMANCE_POWER_SAVE, 1
on demand mode: CPU_PERFORMANCE_ON_DEMAND, 2
conservative mode: CPU_PERFORMANCE_CONSERVATIVE, 3.
Windows: Allows you to set CPU performance in percentage
Parameters:
Handle of the selected board
CPU performance type
Supported only on Linux
CPU performance in percentage
Supported only on Windows
2.5 Memory
2.5.1 KEApiGetMemoryInfo
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetMemoryInfo (
KEAPI_UINT32 boardHandle,
PMEMORY_INFO pMemoryInfo
);
Description:
Provides information about physical memory.
Parameters:
Returned MEMORY_INFO structure
Comentarios a estos manuales