Ignore:
Timestamp:
Dec 23, 2010, 7:32:59 PM (11 years ago)
Author:
charles
Message:

(trunk) #1408 "total downloading and seeding time per torrent" -- add patch to track how long a torrent has been seeding or downloading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r11574 r11583  
    11611161    s->metadataPercentComplete = tr_torrentGetMetadataPercent( tor );
    11621162
    1163     s->percentDone      = tr_cpPercentDone  ( &tor->completion );
    1164     s->leftUntilDone    = tr_cpLeftUntilDone( &tor->completion );
    1165     s->sizeWhenDone     = tr_cpSizeWhenDone ( &tor->completion );
    1166     s->recheckProgress  = s->activity == TR_STATUS_CHECK ? getVerifyProgress( tor ) : 0;
    1167     s->activityDate     = tor->activityDate;
    1168     s->addedDate        = tor->addedDate;
    1169     s->doneDate         = tor->doneDate;
    1170     s->startDate        = tor->startDate;
     1163    s->percentDone         = tr_cpPercentDone  ( &tor->completion );
     1164    s->leftUntilDone       = tr_cpLeftUntilDone( &tor->completion );
     1165    s->sizeWhenDone        = tr_cpSizeWhenDone ( &tor->completion );
     1166    s->recheckProgress     = s->activity == TR_STATUS_CHECK ? getVerifyProgress( tor ) : 0;
     1167    s->activityDate        = tor->activityDate;
     1168    s->addedDate           = tor->addedDate;
     1169    s->doneDate            = tor->doneDate;
     1170    s->startDate           = tor->startDate;
     1171    s->secondsSeeding      = tor->secondsSeeding;
     1172    s->secondsDownloading  = tor->secondsDownloading;
    11711173
    11721174    if ((s->activity == TR_STATUS_DOWNLOAD || s->activity == TR_STATUS_SEED) && s->startDate != 0)
Note: See TracChangeset for help on using the changeset viewer.