mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 05:22:31 -04:00
Added a thread per active peer - to reduce RTT and increase throughout.
* Added pqithreadstreamer, tweaked pqistreamer to support derivation. * Shifted RTT from p3Service to p3FastService. * Disabled lots of debug. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a7dd9ad9e3
commit
b587301b5a
22 changed files with 658 additions and 1414 deletions
|
@ -26,12 +26,12 @@
|
|||
#pragma once
|
||||
|
||||
#include "pqiqos.h"
|
||||
#include "pqistreamer.h"
|
||||
#include "pqithreadstreamer.h"
|
||||
|
||||
class pqiQoSstreamer: public pqistreamer, public pqiQoS
|
||||
class pqiQoSstreamer: public pqithreadstreamer, public pqiQoS
|
||||
{
|
||||
public:
|
||||
pqiQoSstreamer(RsSerialiser *rss, std::string peerid, BinInterface *bio_in, int bio_flagsin);
|
||||
pqiQoSstreamer(PQInterface *parent, RsSerialiser *rss, std::string peerid, BinInterface *bio_in, int bio_flagsin);
|
||||
|
||||
static const uint32_t PQI_QOS_STREAMER_MAX_LEVELS = 10 ;
|
||||
static const float PQI_QOS_STREAMER_ALPHA = 2.0 ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue