Scorum
|
Provide api to get statistics over the time window for a particular account. More...
Provide api to get statistics over the time window for a particular account.
Require: account_statistics_plugin
statistics scorum::account_statistics::account_statistics_api::get_lifetime_stats | ( | ) | const |
Returns lifetime statistics.
Definition at line 40 of file account_statistics_api.cpp.
statistics scorum::account_statistics::account_statistics_api::get_lifetime_stats_by_account_name | ( | const account_name_type & | account_name | ) | const |
Definition at line 68 of file account_statistics_api.cpp.
statistics scorum::account_statistics::account_statistics_api::get_stats_for_interval | ( | const fc::time_point_sec & | start, |
const fc::time_point_sec & | stop | ||
) | const |
Aggregates statistics over a time interval.
start | The beginning time of the window. |
stop | The end time of the window. end must take place after start. |
Definition at line 33 of file account_statistics_api.cpp.
statistics scorum::account_statistics::account_statistics_api::get_stats_for_interval_by_account_name | ( | const account_name_type & | account_name, |
const fc::time_point_sec & | start, | ||
const fc::time_point_sec & | end | ||
) | const |
Definition at line 56 of file account_statistics_api.cpp.
statistics scorum::account_statistics::account_statistics_api::get_stats_for_time | ( | const fc::time_point_sec & | open, |
uint32_t | interval | ||
) | const |
Gets statistics over the time window length, interval, that contains time, open.
open | The opening time, or a time contained within the window. |
interval | The size of the window for which statistics were aggregated. |
Definition at line 28 of file account_statistics_api.cpp.
statistics scorum::account_statistics::account_statistics_api::get_stats_for_time_by_account_name | ( | const account_name_type & | account_name, |
const fc::time_point_sec & | open, | ||
uint32_t | interval | ||
) | const |
Definition at line 45 of file account_statistics_api.cpp.