unify performance counter enum for less confusion

This commit is contained in:
Arvid Norberg 2015-04-29 04:49:55 +00:00
parent 0c2f5c67b8
commit 00e0c7be9c
1 changed files with 6 additions and 6 deletions

View File

@ -307,13 +307,13 @@ namespace libtorrent
socket_recv_size19,
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
enum stats_gauges_t
{
num_checking_torrents = num_stats_counters,
num_stopped_torrents,
// upload_only means finished