Statistics Class Reference
<class description="" goes="" here=""> <short description=""> More...
#include <Statistics.hpp>
Public Member Functions | |
Statistics (ESInfo *esi, bool channelIsWriter) | |
void | setESInfo (ESInfo *new_es) |
u32 | getStreamoutSec () |
double | getStreamoutFloatSec () |
double | getPlayoutSec () |
long | getBWfromStreamoutSec (u32 sec) |
long | getBWfromPlayoutSec (u32 sec) |
u32 | getNumStreamoutSecs () |
double | getBufferFillLevelInSecs () const |
returns the number of stored video seconds in the preQ buffer | |
void | setFirstPacketTS (u32 ts) |
u32 | getFirstPacketTS () |
void | setHighestPacketTS (u32 ts) |
u32 | getHighestPacketTS () |
void | setStreamoutFullSec (u32 sec) |
u32 | getStreamoutFullSec () |
void | setStreamoutFloatSec (double sec) |
void | setPlayoutSec (double sec) |
void | setBufAheadSec (double sec) |
double | getBufAheadSec () |
void | setClientPreQMaxSize (u32 size) |
u32 | getClientPreQMaxSize () |
void | setStillToPrefetchSecs (double secs) |
double | getStillToPrefetchSecs () |
void | setPrefetchedSecs (double secs) |
double | getPrefetchedSecs () |
void | setFirstPacketTime (double time) |
double | getFirstPacketTime () |
void | setLastPacketTime (double time) |
double | getLastPacketTime () |
int | setAvgRTT (int rtt) |
int | getAvgRTT () |
int | setAvgInterarrivalTime (int msecs) |
int | getAvgInterarrivalTime () |
void | setStreamBW (int bw) |
int | getStreamBW () |
void | setBaseStreamBW (int bw) |
int | getBaseStreamBW () |
void | setAdaptRate (int rate) |
int | getAdaptRate () |
void | setAdaptSecs (double secs) |
double | getAdaptSecs () |
bool | checkForNewPlayoutSec (int this_frame_sec, int highest_ts_sec) |
used by RTP sendThread and readThread to check if the currently processed frame TS is for the next second to keep statistics up-to-date | |
void | writePlayoutSecStats (int this_frame_sec) |
void | setVOPTimeIncrement (int incr) |
float | getOriginalFPS () |
bool | incPlayoutSecNetFPS (int sec) |
bool | decPlayoutSecNetFPS (int sec) |
int | getPlayoutSecNetFPS (int sec) |
bool | incPlayoutSecFPS (int sec) |
bool | decPlayoutSecFPS (int sec) |
int | getPlayoutSecFPS (int sec) |
bool | incPlayoutSecIFrame (int sec) |
bool | decPlayoutSecIFrame (int sec) |
int | getPlayoutSecIFrame (int sec) |
bool | incPlayoutSecPFrame (int sec) |
bool | decPlayoutSecPFrame (int sec) |
int | getPlayoutSecPFrame (int sec) |
bool | incPlayoutSecBFrame (int sec) |
bool | decPlayoutSecBFrame (int sec) |
int | getPlayoutSecBFrame (int sec) |
bool | incPlayoutSecPSNR (int sec, double psnr) |
double | getPlayoutSecPSNR (int sec) |
bool | incPlayoutSecDataPkts (int sec) |
bool | decPlayoutSecDataPkts (int sec) |
int | getPlayoutSecDataPkts (int sec) |
bool | incPlayoutSecRtxPkts (int sec) |
int | getPlayoutSecRtxPkts (int sec) |
bool | incPlayoutSecDataBW (int sec, int bw) |
bool | decPlayoutSecDataBW (int sec, int bw) |
int | getPlayoutSecDataBW (int sec) |
bool | incPlayoutSecRtxBW (int sec, int bw) |
int | getPlayoutSecRtxBW (int sec) |
bool | incPlayoutSecNackedBW (int sec, int bw) |
int | getPlayoutSecNackedBW (int sec) |
bool | checkForNewStreamoutSec (double now_dtime) |
used by sendThread and readThread to check for new streamout sec to keep statistics up-to-date | |
void | writeStreamoutSecClientStats (long preQsize) |
void | writeStreamoutSecServerStats () |
float | getStreamoutSecLossPercent (int sec) |
bool | incStreamoutSecDataPkts (int sec) |
bool | decStreamoutSecDataPkts (int sec) |
int | getStreamoutSecDataPkts (int sec) |
bool | incStreamoutSecRtxPkts (int sec) |
int | getStreamoutSecRtxPkts (int sec) |
bool | incStreamoutSecDataBW (int sec, int bw) |
bool | decStreamoutSecDataBW (int sec, int bw) |
int | getStreamoutSecDataBW (int sec) |
bool | incStreamoutSecRtxBW (int sec, int bw) |
int | getStreamoutSecRtxBW (int sec) |
bool | incStreamoutSecNackedBW (int sec, int bw) |
int | getStreamoutSecNackedBW (int sec) |
bool | setStreamoutSecNetBW (int sec, int bw) |
int | getStreamoutSecNetBW (int sec) |
bool | setStreamoutSecClientBufFill (int sec, int size) |
bool | incStreamoutSecClientBufFill (int sec, int size) |
int | getStreamoutSecClientBufFill (int sec) |
bool | setStreamoutSecPlayoutSec (int sec, double plSec) |
double | getStreamoutSecPlayoutSec (int sec) |
bool | setStreamoutSecBufAhead (int sec, double time) |
double | getStreamoutSecBufAhead (int sec) |
bool | incStreamoutSecNumBKeepChecks (int sec) |
int | getStreamoutSecNumBKeepChecks (int sec) |
Detailed Description
<class description="" goes="" here=""> <short description="">
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- Statistics.hpp,v 1.13 2004/09/16 08:17:43 mtaschwer Exp
Definition at line 61 of file Statistics.hpp.
Member Function Documentation
|
used by RTP sendThread and readThread to check if the currently processed frame TS is for the next second to keep statistics up-to-date
Referenced by StatisticsUpdater::adapt().
|
|
used by sendThread and readThread to check for new streamout sec to keep statistics up-to-date
References ESInfo::getMediaTimeScale(), getPlayoutSec(), and getStreamoutFloatSec(). Referenced by StatisticsUpdater::adapt().
|
|
References getPlayoutSec().
|
|
|
|
|
|
Referenced by PSNR::adapt(), Rtp::addToPreQ(), checkForNewStreamoutSec(), getBWfromPlayoutSec(), and Rtp::reinsertToPreQ().
|
|
Referenced by Rtp::addToPreQ(), and checkForNewStreamoutSec().
|
|
Referenced by Rtp::calcAdaptPreQValues().
|
The documentation for this class was generated from the following files: