mirror of
https://github.com/monero-project/monero.git
synced 2025-05-22 03:41:12 -04:00
New interactive daemon command 'print_net_stats': Global traffic stats
This commit is contained in:
parent
f2f725d8db
commit
c23ea7962d
13 changed files with 182 additions and 2 deletions
|
@ -152,7 +152,8 @@ class i_network_throttle {
|
|||
virtual size_t get_recommended_size_of_planned_transport() const =0; // what should be the recommended limit of data size that we can transport over current network_throttle in near future
|
||||
|
||||
virtual double get_time_seconds() const =0; // a timer
|
||||
virtual void logger_handle_net(const std::string &filename, double time, size_t size)=0;
|
||||
virtual void logger_handle_net(const std::string &filename, double time, size_t size)=0;
|
||||
virtual void get_stats(uint64_t &total_packets, uint64_t &total_bytes) const =0;
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue