We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952ac4d commit d56f2a1Copy full SHA for d56f2a1
1 file changed
src/TaskDevice.cxx
@@ -153,7 +153,7 @@ void TaskDevice::monitorCycle()
153
auto end = start + seconds(mTaskConfig.cycleDurationSeconds);
154
int numberBlocks = 0;
155
while (system_clock::now() < end) {
156
- std::vector<std::shared_ptr<DataBlockContainer>> *block = mSampler->getData(100);
+ DataSetReference block = mSampler->getData(100);
157
if (block) {
158
mTask->monitorDataBlock(*block);
159
mSampler->releaseData(); // invalids the block !!!
0 commit comments