1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/EventCounter.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/EventCounter.cpp,v $ |
3 |
* $Id: EventCounter.cpp,v 2.5 2005/01/11 14:58:20 kusanagi Exp $ |
* $Id: EventCounter.cpp,v 2.6 2005/01/29 00:26:41 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the EventCounter class. |
* Implementation of the EventCounter class. |
127 |
(*counter)++; |
(*counter)++; |
128 |
oss.str(""); |
oss.str(""); |
129 |
oss << " Counter." << type->GetName() << " = " << (*counter); |
oss << " Counter." << type->GetName() << " = " << (*counter); |
130 |
logger->debug(oss.str().c_str()); |
logger->info(oss.str().c_str()); |
131 |
} else { |
} else { |
132 |
oss.str(""); |
oss.str(""); |
133 |
oss << "\n No counter of type " << type->GetName().c_str(); |
oss << "\n No counter of type " << type->GetName().c_str(); |
179 |
for(CounterMap::const_iterator p = CMap.begin(); p != CMap.end(); p++) { |
for(CounterMap::const_iterator p = CMap.begin(); p != CMap.end(); p++) { |
180 |
oss.str(""); |
oss.str(""); |
181 |
oss << " Counter." << (p->first)->GetName() << " \t \t " << (*p->second); |
oss << " Counter." << (p->first)->GetName() << " \t \t " << (*p->second); |
182 |
logger->warn(oss.str().c_str()); |
logger->info(oss.str().c_str()); |
183 |
} |
} |
184 |
} |
} |