forked from premiere/premiere-libtorrent
unify performance counter enum for less confusion
This commit is contained in:
parent
0c2f5c67b8
commit
00e0c7be9c
|
@ -307,13 +307,13 @@ namespace libtorrent
|
||||||
socket_recv_size19,
|
socket_recv_size19,
|
||||||
socket_recv_size20,
|
socket_recv_size20,
|
||||||
|
|
||||||
num_stats_counters
|
num_stats_counters,
|
||||||
};
|
|
||||||
|
// == ALL FOLLOWING ARE GAUGES ==
|
||||||
|
|
||||||
|
// it is important that all gauges have a higher index than counters.
|
||||||
|
// This assumption is relied upon in other parts of the code
|
||||||
|
|
||||||
// it is important that all gauges have a higher index than counters.
|
|
||||||
// This assumption is relied upon in other parts of the code
|
|
||||||
enum stats_gauges_t
|
|
||||||
{
|
|
||||||
num_checking_torrents = num_stats_counters,
|
num_checking_torrents = num_stats_counters,
|
||||||
num_stopped_torrents,
|
num_stopped_torrents,
|
||||||
// upload_only means finished
|
// upload_only means finished
|
||||||
|
|
Loading…
Reference in New Issue