Ignore:
Timestamp:
Nov 8, 2008, 2:49:04 AM (10 years ago)
Author:
charles
Message:

more fucking around with the speed measurements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.h

    r7055 r7069  
    3535 #endif
    3636#endif
    37 
    38 enum
    39 {
    40     /* How frequently to reallocate peer bandwidth. */
    41     BANDWIDTH_PULSES_PER_SECOND = 4,
    42 
    43     /* HOw many pulses to remember for averaging the current speed */
    44     BANDWIDTH_PULSE_HISTORY = ( BANDWIDTH_PULSES_PER_SECOND * 2 )
    45 };
    4637
    4738
     
    118109     * protocol overhead is NOT included; this is only the piece data */
    119110    struct tr_ratecontrol     *  pieceSpeed[2];
     111
     112    /* the rate at which bytes are being transferred between client and peer. */
     113    struct tr_ratecontrol     *  rawSpeed[2];
    120114};
    121115
Note: See TracChangeset for help on using the changeset viewer.