Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
trafficgraphdata.h
Go to the documentation of this file.
TrafficGraphData(GraphRange range)
Definition: trafficgraphdata.cpp:21
static const int DesiredQueueSizes[]
Definition: trafficgraphdata.h:68
Definition: trafficgraphdata.h:45
SampleQueue sumEach2Samples(const SampleQueue &rangeQueue)
Definition: trafficgraphdata.cpp:134
Definition: trafficgraphdata.h:37
void setLastBytes(quint64 nLastBytesIn, quint64 nLastBytesOut)
Definition: trafficgraphdata.cpp:53
Definition: trafficgraphdata.h:44
void tryUpdateNextWithLast3Samples(GraphRange range, GraphRange nextRange)
Definition: trafficgraphdata.cpp:45
Definition: trafficgraphdata.h:43
SampleQueue getRangeQueue(GraphRange range)
Definition: trafficgraphdata.cpp:175
TrafficSample operator+(const TrafficSample &other) const
Definition: trafficgraphdata.h:18
Definition: trafficgraphdata.h:40
static const int SMALLEST_SAMPLE_PERIOD
Definition: trafficgraphdata.h:50
TrafficGraphData & operator=(TrafficGraphData const &)
static const int DESIRED_DATA_SAMPLES
Definition: trafficgraphdata.h:49
void tryUpdateNextWithLast2Samples(GraphRange range, GraphRange nextRange)
Definition: trafficgraphdata.cpp:37
QHash< GraphRange, SampleQueue > SampleQueueMap
Definition: trafficgraphdata.h:53
TrafficSample & operator+=(const TrafficSample &rhs)
Definition: trafficgraphdata.h:23
Definition: trafficgraphdata.h:31
Definition: trafficgraphdata.h:41
SampleQueue getCurrentRangeQueue()
Definition: trafficgraphdata.cpp:232
float convertSampleToBandwidth(float dataAmount)
Definition: trafficgraphdata.cpp:239
Definition: trafficgraphdata.h:42
Definition: trafficgraphdata.h:7
void tryAddingSampleToStash(GraphRange range)
Definition: trafficgraphdata.cpp:29
bool update(const TrafficSample &trafficSample)
Definition: trafficgraphdata.cpp:68
Definition: trafficgraphdata.h:38
void switchRange(GraphRange newRange)
Definition: trafficgraphdata.cpp:128
SampleQueue getCurrentRangeQueueWithAverageBandwidth()
Definition: trafficgraphdata.cpp:252
SampleQueue sumEach3Samples(const SampleQueue &rangeQueue, GraphRange range)
Definition: trafficgraphdata.cpp:146
Definition: trafficgraphdata.h:39
Definition: trafficgraphdata.h:36