< Rebol Programming

USAGE:

STATS /pools /types /series /frames /recycle /evals /clear 

DESCRIPTION:

System statistics. Default is to return total memory used.

STATS is a native value.

REFINEMENTS

  • /pools -- Returns: width units free-units units-per-alloc segments mem-in-use
  • /types -- Returns: Datatype count
  • /series -- Returns: total blocks strings other avail free expansions
  • /frames -- Returns: total used unused free values-total
  • /recycle -- Returns: count series-total series-last frames-total frames-last ballast
  • /evals -- Returns: values functions blocks
  • /clear -- Clears the evals counters

SOURCE CODE

stats: native[
    {System statistics.  Default is to return total memory used.} 
    /pools {Returns: width units free-units units-per-alloc segments mem-in-use} 
    /types "Returns: Datatype count" 
    /series {Returns: total blocks strings other avail free expansions} 
    /frames "Returns: total used unused free values-total" 
    /recycle {Returns: count series-total series-last frames-total frames-last ballast} 
    /evals "Returns: values functions blocks" 
    /clear "Clears the evals counters"
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.