Go to the source code of this file.
Classes | |
class | LbmSortedAggExecStreamTest |
Test case for LbmSortedAggExecStream. More... | |
class | SortedAggExecStreamGenerator |
Generates sorted (key, value count) tuples like:. More... | |
Functions | |
uint | getValueCount (uint nRows, uint interval, uint value) |
Returns the number of times a value repeats over nRows. | |
FENNEL_UNIT_TEST_SUITE (LbmSortedAggExecStreamTest) |
FENNEL_UNIT_TEST_SUITE | ( | LbmSortedAggExecStreamTest | ) |
Returns the number of times a value repeats over nRows.
Definition at line 77 of file LbmSortedAggExecStreamTest.cpp.
00078 { 00079 uint nCopies = nRows / interval; 00080 if (value < nRows % interval) { 00081 nCopies++; 00082 } 00083 return nCopies; 00084 }