|
Monero
|
#include <math_helper.h>

Public Types | |
| typedef val | value_type |
Public Member Functions | |
| average () | |
| bool | set_base () |
| void | push (const value_type &vl) |
| double | update (const value_type &vl) |
| double | get_avg () |
| value_type | get_last_val () |
Private Attributes | |
| unsigned int | m_base |
| double | m_last_avg_val |
| std::list< value_type > | m_list |
| critical_section | m_lock |
| typedef val epee::math_helper::average< val, default_base >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |