REBOL Programming/stats

USAGE:Edit

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

DESCRIPTION:Edit

System statistics. Default is to return total memory used.

STATS is a native value.

REFINEMENTSEdit

  • /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 CODEEdit

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"
]
Last modified on 13 November 2012, at 10:48