PxMcGetVarsizedOverhead()
return the overhead of a varsized memory class.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxSize_t PxMcGetVarsizedOverhead (PxMc_t mcid); - ARGUMENTS
|
- RETURN VALUES
-
-
Overhead per block of a
varsizedmemory class -
PXMAXUINTin case of error
-
- ERROR CODES
-
PXERR_MC_ILLMCmcidis not a valid memory classPXERR_GLOBAL_ILLEGAL_COREThe requested memory class is not on the same core
- DESCRIPTION
-
PxMcGetVarsizedOverheadreturns the overhead per block of avarsizedmemory class.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
mcidmust be the symbolic valuePXMcSystemdefaultspecifying the system memory class (V)
-
- After call
-
-
The function returns
0xFFFFFFFF(-1U) if the given memory class is invalid. In this casePxGetErrormust be called to check which error has occurred. (F)
-
- Best Practice
-
-
No restrictions.
-
- SEE ALSO
- USAGE
-
#include "pxdef.h" PxSize_t Size = PxMcGetVarsizedOverhead(mcid)