mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
(trunk) revert downloadSpeed and uploadSpeed in session stats to Bps
This commit is contained in:
parent
8f57986784
commit
acfec1c76f
1 changed files with 2 additions and 2 deletions
|
@ -1491,10 +1491,10 @@ sessionStats( tr_session * session,
|
|||
tr_sessionGetCumulativeStats( session, &cumulativeStats );
|
||||
|
||||
tr_bencDictAddInt ( args_out, "activeTorrentCount", running );
|
||||
tr_bencDictAddReal( args_out, "downloadSpeed", tr_sessionGetPieceSpeed_KBps( session, TR_DOWN ) );
|
||||
tr_bencDictAddReal( args_out, "downloadSpeed", tr_sessionGetPieceSpeed_Bps( session, TR_DOWN ) );
|
||||
tr_bencDictAddInt ( args_out, "pausedTorrentCount", total - running );
|
||||
tr_bencDictAddInt ( args_out, "torrentCount", total );
|
||||
tr_bencDictAddReal( args_out, "uploadSpeed", tr_sessionGetPieceSpeed_KBps( session, TR_UP ) );
|
||||
tr_bencDictAddReal( args_out, "uploadSpeed", tr_sessionGetPieceSpeed_Bps( session, TR_UP ) );
|
||||
|
||||
d = tr_bencDictAddDict( args_out, "cumulative-stats", 5 );
|
||||
tr_bencDictAddInt( d, "downloadedBytes", cumulativeStats.downloadedBytes );
|
||||
|
|
Loading…
Add table
Reference in a new issue