libktorrent  2.2.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
bt::TimeEstimator Class Reference

#include <timeestimator.h>

Public Types

enum  ETAlgorithm {
  ETA_KT, ETA_CSA, ETA_GASA, ETA_WINX,
  ETA_MAVG
}
 

Public Member Functions

 TimeEstimator (TorrentControl *tc)
 
int estimate ()
 Returns ETA for m_tc torrent.
 

Static Public Attributes

static const int ALREADY_FINISHED = 0
 
static const int NEVER = INT_MAX
 

Detailed Description

ETA estimator class. It will use different algorithms for different download phases.

Author
Ivan Vasic ivasi.nosp@m.c@gm.nosp@m.ail.c.nosp@m.om

Definition at line 96 of file timeestimator.h.


The documentation for this class was generated from the following file: