Changeset 9540


Ignore:
Timestamp:
Nov 22, 2009, 1:12:44 AM (13 years ago)
Author:
livings124
Message:

a couple of more swarm speed removals

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/rpc-spec.txt

    r9330 r9540  
    179179   startDate                   | number                      | tr_stat
    180180   status                      | number                      | tr_stat
    181    swarmSpeed (K/s)            | number                      | tr_stat
    182181   trackers                    | array (see below)           | n/a
    183182   trackerStats                | array (see below)           | n/a
  • trunk/libtransmission/peer-msgs.c

    r9536 r9540  
    12921292            }
    12931293            updatePeerProgress( msgs );
    1294             tr_rcTransferred( &msgs->torrent->swarmSpeed,
    1295                               msgs->torrent->info.pieceSize );
    12961294            break;
    12971295
  • trunk/libtransmission/torrent.c

    r9538 r9540  
    625625    tr_torrentInitFilePieces( tor );
    626626
    627     tr_rcConstruct( &tor->swarmSpeed );
    628 
    629627    tr_sha1( tor->obfuscatedHash, "req2", 4,
    630628             info->hash, SHA_DIGEST_LENGTH,
     
    12601258    tr_cpDestruct( &tor->completion );
    12611259
    1262     tr_rcDestruct( &tor->swarmSpeed );
    1263 
    12641260    tr_announcerUnsubscribe( tor->tiers, tor->tiersSubscription );
    12651261    tr_announcerRemoveTorrent( session->announcer, tor );
  • trunk/libtransmission/torrent.h

    r9519 r9540  
    136136    tr_session *             session;
    137137    tr_info                  info;
    138 
    139     struct tr_ratecontrol    swarmSpeed;
    140138
    141139    int                      magicNumber;
  • trunk/qt/torrent.cc

    r9247 r9540  
    5656    { UPLOAD_SPEED, "rateUpload", QVariant::Int, STAT } /* B/s */,
    5757    { DOWNLOAD_SPEED, "rateDownload", QVariant::Int, STAT }, /* B/s */
    58     { SWARM_SPEED, "swarmSpeed", QVariant::Int, STAT_EXTRA },/* KB/s */
    5958    { DOWNLOAD_DIR, "downloadDir", QVariant::String, STAT },
    6059    { ACTIVITY, "status", QVariant::Int, STAT },
  • trunk/qt/torrent.h

    r9179 r9540  
    8686            UPLOAD_SPEED,
    8787            DOWNLOAD_SPEED,
    88             SWARM_SPEED,
    8988            DOWNLOAD_DIR,
    9089            ACTIVITY,
     
    252251        Speed downloadSpeed( ) const { return Speed::fromBps( getInt( DOWNLOAD_SPEED ) ); }
    253252        Speed uploadSpeed( ) const { return Speed::fromBps( getInt( UPLOAD_SPEED ) ); }
    254         Speed swarmSpeed( ) const { return Speed::fromKbps( getInt( SWARM_SPEED ) ); }
    255253        double getVerifyProgress( ) const { return getDouble( PERCENT_VERIFIED ); }
    256254        bool hasFileSubstring( const QString& substr ) const;
Note: See TracChangeset for help on using the changeset viewer.