Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SysStatistic Struct Reference

Public Member Functions

CoreString get_digest () const
 return a human readable string of the statistic data
 

Static Public Member Functions

static CoreString get_readable_size (const size_t &size)
 Convert a size in bytes to a readable string with memory unit appended.
 

Public Attributes

SysStatMemory memory
 
SysStatApplication application
 
SysStatScene scene
 
SysStatResource resource
 
SysStatLiteResource lite_resource
 

Member Function Documentation

CoreString SysStatistic::get_readable_size ( const size_t &  size)
static

Convert a size in bytes to a readable string with memory unit appended.

Parameters
sizeSize in bytes.
Returns
Readable size as a string.