@@ -205,7 +205,8 @@ void TrackerTraits<NLayers>::computeLayerTracklets(const int iteration, int iVer
205205 });
206206 const auto st = sink.stats ();
207207 sink.finalizeUnordered (tracklets);
208- mTimeFrame ->getCapacityEstimator ().update (key, scale, st);
208+ mTimeFrame ->getCapacityEstimator ().update (key, scale, st.requested , st.capacity , st.emitted , st.spilled ,
209+ st.overflowed , st.memoryLimited );
209210 });
210211 }
211212
@@ -404,7 +405,8 @@ void TrackerTraits<NLayers>::computeLayerCells(const int iteration)
404405 });
405406 const auto st = sink.stats ();
406407 sink.finalizeGrouped (size_t (currentLayerTrackletsNum), lut, layerCells);
407- mTimeFrame ->getCapacityEstimator ().update (key, scale, st);
408+ mTimeFrame ->getCapacityEstimator ().update (key, scale, st.requested , st.capacity , st.emitted , st.spilled ,
409+ st.overflowed , st.memoryLimited );
408410 } else {
409411 lut.resize (currentLayerTrackletsNum + 1 );
410412 for (int iTracklet{0 }; iTracklet < currentLayerTrackletsNum; ++iTracklet) {
@@ -554,7 +556,8 @@ void TrackerTraits<NLayers>::findCellsNeighbours(const int iteration)
554556 });
555557 const auto st = sink.stats ();
556558 sink.finalizeUnordered (waveNeighbours);
557- mTimeFrame ->getCapacityEstimator ().update (key, scale, st);
559+ mTimeFrame ->getCapacityEstimator ().update (key, scale, st.requested , st.capacity , st.emitted , st.spilled ,
560+ st.overflowed , st.memoryLimited );
558561 tbb::parallel_sort (waveNeighbours.begin (), waveNeighbours.end (), neighbourLess);
559562 } else {
560563 for (const int cellTopologyId : activeTopologies) {
@@ -755,7 +758,8 @@ void TrackerTraits<NLayers>::processNeighbours(int iteration, int defaultCellTop
755758 });
756759 const auto st = sink.stats ();
757760 sink.finalizeUnordered (updatedSeeds);
758- mTimeFrame ->getCapacityEstimator ().update (capacityKey, scale, st);
761+ mTimeFrame ->getCapacityEstimator ().update (capacityKey, scale, st.requested , st.capacity , st.emitted , st.spilled ,
762+ st.overflowed , st.memoryLimited );
759763 }
760764 });
761765}
0 commit comments