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 | ");
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];