FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kHealthLog Class Reference

Description

Implements persistent health logging.

Inheritance diagram for kHealthLog:
Inheritance graph

Public Member Functions

kStatus kHealthLog_Clear (kHealthLog log)
 Marks the log to be cleared the next time that it is reloaded. More...
 
kStatus kHealthLog_Construct (kHealthLog *log, const kChar *directory, k32u fileLimit, k32u sizeLimit, k32u blockSize, kAlloc allocator)
 Constructs a kHealthLog object. More...
 
kStatus kHealthLog_CreateSnapshot (kHealthLog log, kArrayList statList)
 Adds a new snapshot to the health log. More...
 
kStatus kHealthLog_FindStatValue (kHealthLog log, kHealthId id, k32u instance, k64s *value)
 Gets the latest logged value of the specifid health stat. More...
 
kStatus kHealthLog_RegisterStat (kHealthLog log, kHealthId id, k32u instance, const kChar *name, kBool shouldRestore, k64s value)
 Adds or updates metadata for the specified stat. More...
 
kStatus kHealthLog_Summarize (kHealthLog log, kHealthSummary summary)
 Builds a log summary by scanning all snapshot files. More...
 
kStatus kHealthLog_UnregisterStat (kHealthLog log, kHealthId id, k32u instance)
 Notes that a stat has gone offline. More...
 

The documentation for this class was generated from the following file: