The dataloader which allows zipf distribution of key, value, event time and arrival skewness.
More...
#include <TestBench/ZipfDataLoader.h>
|
|
tsType | windowLenMs |
| |
|
tsType | timeStepUs |
| |
|
tsType | watermarkTimeMs |
| |
|
tsType | maxArrivalSkewMs |
| |
|
tsType | eventRateKTps |
| |
|
uint64_t | zipfDataLoader_zipfKey |
| |
|
uint64_t | zipfDataLoader_zipfValue |
| |
|
uint64_t | zipfDataLoader_zipfEvent |
| |
|
uint64_t | zipfDataLoader_zipfSkew |
| |
|
vector< keyType > | keyS |
| |
|
vector< keyType > | keyR |
| |
|
vector< valueType > | valueS |
| |
|
vector< valueType > | valueR |
| |
|
vector< tsType > | eventS |
| |
|
vector< tsType > | eventR |
| |
|
vector< tsType > | arrivalS |
| |
|
vector< tsType > | arrivalR |
| |
|
size_t | testSize |
| |
|
size_t | keyRange |
| |
|
size_t | valueRange |
| |
|
double | zipfDataLoader_zipfKeyFactor |
| |
|
double | zipfDataLoader_zipfValueFactor |
| |
|
double | zipfDataLoader_zipfEventFactor |
| |
|
double | zipfDataLoader_zipfSkewFactor |
| |
|
MicroDataSet | md |
| |
The dataloader which allows zipf distribution of key, value, event time and arrival skewness.
- Note
- :
- Must have a global config by setConfig
- Can also have a modification config by
-
Default behavior
- create
- setConfig and setModConfig (optional), generate R and S internally
- call getTupleVectorS/R
-
require configs:
- zipfDataLoader_zipfKey U64, in key, 1 for zipf, 0 for random
- zipfDataLoader_zipfValue U64, in value, 1 for zipf, 0 for random
- zipfDataLoader_zipfEvent U64, in event time, 1 for zipf, 0 for random
- zipfDataLoader_zipfSkew U64, in arrival skewness, 1 for zipf, 0 for random
- zipfDataLoader_zipfKeyFactor Double, in key,0~1
- zipfDataLoader_zipfValueFactor Double, in value, 0~1
- zipfDataLoader_zipfEventFactor Double, in event time, 0~1
- zipfDataLoader_zipfSkewFactor Double, in event time, 0~1
- windowLenMs U64 The real world window length in ms
- timeStepUs U64 The simulation step in us
- maxArrivalSkewMs U64 The maximum real-world arrival skewness in ms
- eventRateKTps U64 The real-world rate of spawn event, in KTuples/s
- keyRange U64 The range of Key
- valueRange U64 The range of value
The documentation for this class was generated from the following files: