41 lastTime(
time(nullptr)),
52 std::cerr <<
"&&&--- CountAndLimit::add \n";
132 #ifdef ELmapDumpTRACE
141 std::ostringstream
s;
142 s <<
"**** ELmap_limits Dump **** \n";
144 ELmap_limits::const_iterator
i;
145 for (
i =
m.begin();
i !=
m.end(); ++
i) {
147 s <<
" " << (*i).first <<
": " << lt.
limit <<
", " << lt.
timespan <<
"\n";
149 s <<
"--------------------------------------------\n";
151 boost::shared_array<char>
dump(
new char[
s.str().size() + 1]);
152 strcpy(
dump.get(),
s.str().c_str());