 |
PK_BODY_ask_memory_usage |
|
PK_ERROR_code_t PK_BODY_ask_memory_usage
(
--- received arguments ---
PK_BODY_t body,
--- returned arguments ---
size_t *const total
)
This function returns the amount of memory currently occupied by the
body's data structures. Note: this may vary during the course of a
session.
Specific Errors:
PK_ERROR_unsuitable_entity Body is a child body (MILD)
If 'body' is a compound body, then the function returns the total memory
occupied by it and all its child bodies together.
See here for more information.