X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcore%2Foam%2FModule.cpp;h=742b7e0e9eacd7fa0111b90a0dc51e12a2b904f9;hb=c68d53c4623b63ee20014a7eae0b9759a490c90e;hp=99b47c9ee97dba963c6b8530c03d4531fbad6ad0;hpb=884501d2411bc4fdfafae65948262c959e068d7d;p=anna.git diff --git a/source/core/oam/Module.cpp b/source/core/oam/Module.cpp index 99b47c9..742b7e0 100644 --- a/source/core/oam/Module.cpp +++ b/source/core/oam/Module.cpp @@ -1,8 +1,8 @@ -// ANNA - Anna is Not 'N' Anymore +// ANNA - Anna is Not Nothingness Anymore // // (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo // -// https://bitbucket.org/testillano/anna +// http://redmine.teslayout.com/projects/anna-suite // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions @@ -14,7 +14,7 @@ // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. -// * Neither the name of Google Inc. nor the names of its +// * Neither the name of the copyright holder nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // @@ -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];