#include <ExecStreamDefs.h>
Public Member Functions | |
ExecStreamResourceQuantity () | |
Public Attributes | |
uint | nThreads |
Number of dedicated threads the stream may request while executing. | |
uint | nCachePages |
Number of cache pages the stream may pin while executing. |
Definition at line 152 of file ExecStreamDefs.h.
ExecStreamResourceQuantity::ExecStreamResourceQuantity | ( | ) | [inline, explicit] |
Definition at line 167 of file ExecStreamDefs.h.
00168 { 00169 nThreads = 0; 00170 nCachePages = 0; 00171 }
Number of dedicated threads the stream may request while executing.
Non-parallelized streams have 0 for this setting, meaning the only threads which execute them are managed by the scheduler instead.
Definition at line 159 of file ExecStreamDefs.h.
Referenced by ExecStream::getResourceRequirements(), SimpleExecStreamGovernor::requestResources(), ExternalSortExecStreamImpl::setResourceAllocation(), and SimpleExecStreamGovernor::setResourceAvailability().
Number of cache pages the stream may pin while executing.
This includes both scratch pages and I/O pages used for storage access.
Definition at line 165 of file ExecStreamDefs.h.
Referenced by SimpleExecStreamGovernor::computePerGraphAllocation(), SimpleExecStreamGovernor::distributeCachePages(), ExecStreamGovernor::ExecStreamGovernor(), MockResourceExecStream::execute(), ExternalSortExecStreamImpl::getResourceRequirements(), LcsRowScanBaseExecStream::getResourceRequirements(), LcsClusterReplaceExecStream::getResourceRequirements(), LcsClusterAppendExecStream::getResourceRequirements(), LbmUnionExecStream::getResourceRequirements(), LbmSplicerExecStream::getResourceRequirements(), LbmGeneratorExecStream::getResourceRequirements(), LbmChopperExecStream::getResourceRequirements(), LhxJoinExecStream::getResourceRequirements(), LhxAggExecStream::getResourceRequirements(), FtrsTableWriterExecStream::getResourceRequirements(), BTreeReadExecStream::getResourceRequirements(), BTreePrefetchSearchExecStream::getResourceRequirements(), BTreeInsertExecStream::getResourceRequirements(), FlatFileExecStreamImpl::getResourceRequirements(), SegBufferWriterExecStream::getResourceRequirements(), SegBufferReaderExecStream::getResourceRequirements(), SegBufferExecStream::getResourceRequirements(), ScratchBufferExecStream::getResourceRequirements(), ExecStream::getResourceRequirements(), DoubleBufferExecStream::getResourceRequirements(), SimpleExecStreamGovernor::requestResources(), SimpleExecStreamGovernor::returnResources(), ExternalSortExecStreamImpl::setResourceAllocation(), LbmUnionExecStream::setResourceAllocation(), LbmGeneratorExecStream::setResourceAllocation(), LhxJoinExecStream::setResourceAllocation(), LhxAggExecStream::setResourceAllocation(), BTreePrefetchSearchExecStream::setResourceAllocation(), MockResourceExecStream::setResourceAllocation(), ExecStream::setResourceAllocation(), SimpleExecStreamGovernor::setResourceAvailability(), SimpleExecStreamGovernor::setResourceKnob(), ExternalSortExecStreamTest::testCaseSetUp(), ExecStreamTestBase::testCaseSetUp(), ExecStreamGovernorTest::testCaseSetUp(), ExecStreamGovernorTest::testInBetween(), ExecStreamGovernorTest::testMinEqualAllocation(), ExecStreamGovernorTest::testMinGreaterAllocation(), ExecStreamGovernorTest::testMinGreaterAvailable(), ExecStreamGovernorTest::testOptEqualEstimate(), ExecStreamGovernorTest::testOptLessAccurate(), ExecStreamGovernorTest::testOptLessEstimate(), ExecStreamGovernorTest::testReturnResources(), CmdInterpreter::visit(), and ExecStreamGovernor::writeStats().