X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcore%2Foam%2FModule.cpp;h=d45ba9f012a4ff4a49a81145bc6d9990134c9910;hb=fc8de8185ba4fe0e0fef890fd5f3e58fd2587e12;hp=99b47c9ee97dba963c6b8530c03d4531fbad6ad0;hpb=030975deff0dcf9796934f1de08f18d426e28713;p=anna.git diff --git a/source/core/oam/Module.cpp b/source/core/oam/Module.cpp index 99b47c9..d45ba9f 100644 --- a/source/core/oam/Module.cpp +++ b/source/core/oam/Module.cpp @@ -527,7 +527,7 @@ void anna::oam::Module::recordCounters() throw(anna::RuntimeException) { LOGMETHOD(anna::TraceMethod tttm("anna::oam::Module", "recordCounters", ANNA_FILE_LOCATION)); if(a_counterRecorder == NULL) - throw RuntimeException("anna::oam::CounterManager has no counter recorder associated", ANNA_FILE_LOCATION); + throw RuntimeException("anna::oam::Module has no counter recorder associated", ANNA_FILE_LOCATION); LOGDEBUG( std::string msg("Recording counters | "); @@ -545,9 +545,7 @@ void anna::oam::Module::recordCounters() throw(anna::RuntimeException) { cscope = scope(scope_it); if(cscope == NULL) continue; - //CounterScope& counterScope(*scope); - //Guard csGuard(counterScope, "oam::CounterScope from oam::CounterManager::record"); - Guard csGuard(cscope, "oam::CounterScope from oam::CounterManager::record"); + Guard csGuard(cscope, "oam::CounterScope from oam::Module::record"); for(register int icounter = 0; icounter < CounterScope::MaxCounter; icounter ++) { Counter* counter = cscope->a_counters [icounter];