#include <ExecStreamGenerator.h>
Inheritance diagram for StairCaseExecStreamGenerator:
Public Member Functions | |
StairCaseExecStreamGenerator (int height, uint width, int start=0) | |
virtual int64_t | generateValue (uint iRow, uint iCol) |
Generates one data value. | |
Private Attributes | |
int | s |
int | h |
int | w |
Outputs numbers according to the formula: Height * (row / (int) Width)
Definition at line 103 of file ExecStreamGenerator.h.
StairCaseExecStreamGenerator::StairCaseExecStreamGenerator | ( | int | height, | |
uint | width, | |||
int | start = 0 | |||
) | [inline] |
virtual int64_t StairCaseExecStreamGenerator::generateValue | ( | uint | iRow, | |
uint | iCol | |||
) | [inline, virtual] |
Generates one data value.
iRow | 0-based row number to generate | |
iCol | 0-based col number to generate |
Implements MockProducerExecStreamGenerator.
Definition at line 117 of file ExecStreamGenerator.h.
int StairCaseExecStreamGenerator::s [private] |
int StairCaseExecStreamGenerator::h [private] |
int StairCaseExecStreamGenerator::w [private] |