|
FireSync API
|
Represents a runinng average calculation.

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... | |