NXGetCacheLineSize

Returns the platform-specific cache line size (in bytes).

Library:LibC
Classification:NKS
Service:NKS Platform

Syntax

  #include <nks/plat.h>
   
  size_t NXGetCacheLineSize (void);
  

Return Values

Returns the cache line size, or zero if the host platform does not support this functionality.

Remarks

For sample code, see Memory.c.

See Also