From 4ff17aeba4b1aa64a5de0e7bc67d0fe7df41b8cb Mon Sep 17 00:00:00 2001 From: schendel Date: Tue, 28 Aug 2001 02:50:46 +0000 Subject: [PATCH] fix bug so don't try to set initial actual value for aggComponents associated associated with a sampleAggregator parent of a shared COMP (component) type mdn; - - - - - - - - - - - - - - - - - - - - - - - - - added to the debug tracing --- pdutil/src/sampleAggregator.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pdutil/src/sampleAggregator.C b/pdutil/src/sampleAggregator.C index 3459890..c0b410b 100644 --- a/pdutil/src/sampleAggregator.C +++ b/pdutil/src/sampleAggregator.C @@ -39,7 +39,7 @@ * incur to third parties resulting from your use of Paradyn. */ -// $Id: sampleAggregator.C,v 1.1 2001/08/23 14:44:43 schendel Exp $ +// $Id: sampleAggregator.C,v 1.2 2001/08/28 02:50:46 schendel Exp $ #include #include @@ -383,7 +383,8 @@ void sampleAggregator::actuallyAggregate(struct sampleInterval *ret) { } } aggu_cerr << " calculated aggActualVal: " << aggActualVal - << "lastActualVal: " << lastActualVal << "\n"; + << "lastActualVal: " << lastActualVal << ", initActVal: " + << initActualVal << "\n"; pdSample aggIntvlVal = aggActualVal - lastActualVal; @@ -405,6 +406,7 @@ void sampleAggregator::removeComponentsRequestedToRemove() { for(unsigned i=0; iisRemoveRequested() && curComp->numQueuedSamples()==0) { + aggu_cerr << "removing aggComp: " << curComp << "\n"; componentBuf.erase(i); delete curComp; } -- 1.8.3.1