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

Description

Represents a runinng average calculation.

Inheritance diagram for kMovingAvg:
Inheritance graph

Public Member Functions

kStatus kMovingAvg_Add (kMovingAvg stat, k64s value)
 Adds a sample value to the average. More...
 
kStatus kMovingAvg_Construct (kMovingAvg *stat, kSize window, kAlloc allocator)
 Constructs a kMovingAvg object. More...
 
kSize kMovingAvg_Count (kMovingAvg stat)
 Reports the current count of samples contributing to the average. More...
 
k64s kMovingAvg_Value (kMovingAvg stat)
 Reports the current result of the running average calculation. More...
 
kSize kMovingAvg_Window (kMovingAvg stat)
 Reports the window size for the average calculation. More...
 

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