kget
advancedchokealgorithm.cpp File Reference
#include "advancedchokealgorithm.h"
#include <util/functions.h>
#include <interfaces/torrentinterface.h>
#include <diskio/chunkmanager.h>
#include <peer/peer.h>
#include <peer/peermanager.h>
#include <peer/packetwriter.h>
#include <krandom.h>
Include dependency graph for advancedchokealgorithm.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | bt |
Functions | |
| static int | bt::ACACmp (Peer *a, Peer *b) |
| static Uint32 | bt::FindPlannedOptimisticUnchokedPeer (PeerManager &pman, const PeerPtrList &ppl) |
| static int | bt::UpRateCmp (Peer *a, Peer *b) |
Variables | |
| const double | bt::NEWBIE_BONUS = 1.0 |
| const double | bt::ONE_MB = 1024*1024 |
| const Uint32 | bt::OPT_SEL_INTERVAL = 30*1000 |
| const double | bt::SNUB_PENALTY = 10.0 |
KDE 4.2 API Reference