CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions | Variables
edm::service Namespace Reference

Classes

class  AbstractMLscribe
 
struct  close_and_delete
 
class  CPU
 
class  ELadminDestroyer
 
class  ELadministrator
 
class  ELcollected
 
class  ELcontextSupplier
 
class  ELdestControl
 
class  ELdestination
 
class  ELemptyContextSupplier
 
class  ELerrorList
 
class  ELfwkJobReport
 
class  ELlimitsTable
 
class  ELoutput
 
class  ELsender
 
class  ELservConSup
 
struct  ELsetS
 
class  ELstatistics
 
class  ELtsErrorLog
 
class  EnableFloatingPointExceptions
 
class  ErrorLog
 
class  IgProfService
 
class  InitRootHandlers
 
class  JobReportService
 
struct  linux_proc
 
class  LoadAllDictionaries
 
class  MainThreadMLscribe
 
class  MessageLogger
 
struct  MessageLoggerDefaults
 
class  MessageLoggerScribe
 
class  MessageServicePresence
 
class  MessageServicePSetValidation
 
class  MsgContext
 
class  NamedDestination
 
class  PathTimerService
 
class  PrescaleService
 
struct  procInfo
 
class  RandomNumberGeneratorService
 
class  SilentMLscribe
 
class  SimpleMemoryCheck
 
class  SimpleProfiling
 
class  SingleThreadMSPresence
 
class  SiteLocalConfigService
 
class  ThreadQueue
 
class  ThreadSafeErrorLog
 
class  Timing
 
class  Tracer
 
class  TriggerNamesService
 
class  UnixSignalService
 

Typedefs

typedef std::set< ELsetSELset_string
 

Functions

static std::string d2str (double d)
 
static std::string d2str (double d)
 
void ELrecv (int nbytes, const char *data)
 
void ELrecv (int nbytes, const char *data, ELstring localModule)
 
template<class T >
void ELtsItem (ELtsErrorLog &e, const T &t)
 
void ELtsItem (ELtsErrorLog &e, const char s[])
 
void ELtsItem (ELtsErrorLog &e, int n)
 
void ELtsItem (ELtsErrorLog &e, unsigned int n)
 
void ELtsItem (ELtsErrorLog &e, long n)
 
void ELtsItem (ELtsErrorLog &e, unsigned long n)
 
void ELtsItem (ELtsErrorLog &e, short n)
 
void ELtsItem (ELtsErrorLog &e, unsigned short n)
 
void endmsg (ErrorLog &log)
 
static ELstring formatTime (const time_t t)
 
static double getCPU ()
 
static double getTime ()
 
static double getTime ()
 
static std::string i2str (int i)
 
static void msgabort ()
 
static void msgabort ()
 
static void msgabort ()
 
static void msgexit (int s)
 
static void msgexit (int s)
 
template<class Mutex >
ThreadSafeErrorLog< Mutex > & operator<< (ThreadSafeErrorLog< Mutex > &e, void(*f)(ErrorLog &))
 
template<class Mutex , class T >
ThreadSafeErrorLog< Mutex > & operator<< (ThreadSafeErrorLog< Mutex > &e, const T &t)
 
template<class T >
ErrorLogoperator<< (ErrorLog &e, const T &t)
 
ErrorLogoperator<< (ErrorLog &e, int n)
 
ErrorLogoperator<< (ErrorLog &e, long n)
 
ErrorLogoperator<< (ErrorLog &e, short n)
 
ErrorLogoperator<< (ErrorLog &e, unsigned int n)
 
ErrorLogoperator<< (ErrorLog &e, unsigned long n)
 
ErrorLogoperator<< (ErrorLog &e, unsigned short n)
 
ErrorLogoperator<< (ErrorLog &e, const char s[])
 
std::ostream & operator<< (std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
 
std::ostream & operator<< (std::ostream &os, SimpleMemoryCheck::SignificantModule const &sm)
 
static void possiblyAbOrEx (int s, int a, int e)
 
static void possiblyAbortOrExit (int s, int a, int e)
 

Variables

static ELemptyContextSupplier emptyContext
 
static ELstring hereMsg = "available via this destination"
 
static ELstring noClearSummaryMsg = "No clearSummary()"
 
static ELstring noosMsg = "No ostream"
 
static ELstring noSummarizationMsg = "No summarization()"
 
static ELstring noSummaryMsg = "No summary()"
 
static ELstring notELoutputMsg = "This destination is not an ELoutput"
 

Typedef Documentation

Definition at line 33 of file ELset.h.

Function Documentation

static std::string edm::service::d2str ( double  d)
static

Definition at line 56 of file Timing.cc.

References matplotRender::t.

56  {
57  std::stringstream t;
58  t << d;
59  return t.str();
60  }
static std::string edm::service::d2str ( double  d)
static

Definition at line 57 of file Memory.cc.

References matplotRender::t.

Referenced by edm::service::SimpleMemoryCheck::eventStatOutput(), edm::service::CPU::postEndJob(), edm::service::Timing::postEndJob(), and edm::service::SimpleMemoryCheck::postEndJob().

57  {
58  std::ostringstream t;
59  t << d;
60  return t.str();
61  }
void edm::service::ELrecv ( int  nbytes,
const char *  data 
)

Definition at line 42 of file ELrecv.cc.

Referenced by edm::service::ErrorLog::operator()().

42  {
43  ELrecv ( nbytes, data, "*ELrecv*" );
44 }
void ELrecv(int nbytes, const char *data)
Definition: ELrecv.cc:42
void edm::service::ELrecv ( int  nbytes,
const char *  data,
ELstring  localModule 
)

Definition at line 47 of file ELrecv.cc.

References runTheMatrix::data, diffTreeTool::diff, edm::ELerror2, edm::ELseverityLevel::ELsev_highestSeverity, edm::ELseverityLevel::ELsev_unspecified, edm::ELseverityLevel::ELsev_zeroSeverity, endmsg(), ExpressReco_HICollisions_FallBack::id, edm::service::ELadministrator::instance(), fwlog::logger(), module(), align_tpl::process, edm::service::ELservConSup::setContext(), edm::service::ELservConSup::setFullContext(), edm::service::ErrorLog::setModule(), edm::service::ErrorLog::setSubroutine(), edm::service::ELservConSup::setSummaryContext(), edm::service::ELadministrator::swapContextSupplier(), and edm::service::ELadministrator::swapProcess().

47  {
48 
49  static const int MAXITEMCOUNT = 100;
50 
51  static ErrorLog errlog;
52  static ELservConSup con;
53  static ELadministrator * logger = ELadministrator::instance();
54 
55  // Pull out the extended id. Carefully look at ELcollected::emitXid to
56  // make certain we take things out in the proper order.
57 
60  ELstring subroutine;
61  ELstring id;
62  ELstring sevString;
63  int sevLevel;
64 
65  const char * nextItem = data;
66 
67  process = nextItem;
68  nextItem += strlen(nextItem) + 1;
69 
70  if (localModule == "*ELrecv*") module = nextItem;
71  else module = localModule + ":" + nextItem;
72  nextItem += strlen(nextItem) + 1;
73 
74  subroutine = nextItem;
75  nextItem += strlen(nextItem) + 1;
76 
77  id = nextItem;
78  nextItem += strlen(nextItem) + 1;
79 
80  sevString = nextItem;
81  nextItem += strlen(nextItem) + 1;
82  std::istringstream ist (sevString);
83  if ( ! (ist >> sevLevel) ) {
84  // This should not be possible. But if it does, we don't want to
85  // kill off the probably critical error monitoring job!
86  errlog ( ELerror2, "Collection Error" ) <<
87  "An error message received has an unreadable value of severity level"
88  << sevString << endmsg;
89  sevLevel = ELseverityLevel::ELsev_unspecified;
90  }
91  if ( sevLevel < ELseverityLevel::ELsev_zeroSeverity ||
92  sevLevel > ELseverityLevel::ELsev_highestSeverity ) {
93  // Again, this should not be possible.
94  errlog ( ELerror2, "Collection Error" ) <<
95  "An error message received has an out-of-range value of severity level"
96  << sevString << endmsg;
97  sevLevel = ELseverityLevel::ELsev_unspecified;
98  }
99 
100  // Pull out the context strings and set up the special supplier.
101 
102  ELstring context;
103 
104  context = nextItem;
105  nextItem += strlen(nextItem) + 1;
106  con.setSummaryContext( context );
107 
108  context = nextItem;
109  nextItem += strlen(nextItem) + 1;
110  con.setContext( context );
111 
112  context = nextItem;
113  nextItem += strlen(nextItem) + 1;
114  con.setFullContext( context );
115 
116  // Remember the context supplier, and substitute the special supplier.
117 
118  ELcontextSupplier & oldCS = logger->swapContextSupplier(con);
119 
120  // Set the module, subroutine, and process according to this xid.
121 
122  ELstring oldProcess = logger->swapProcess(process);
123  errlog.setModule (module);
124  errlog.setSubroutine(subroutine);
125 
126  // Instantiate a message with the appropriate severity level and id.
127 
128  errlog ( ELseverityLevel( ELseverityLevel::ELsev_(sevLevel)), id );
129 
130  // Add the remaining items to this message.
131  // To avoid any possibility of a completely runaway message, we limit
132  // the number of items output to 100 by doing a for instead of a while
133  // loop.
134 
135  ELstring item;
136  int itemCount;
137  for ( itemCount = 0; itemCount < MAXITEMCOUNT; itemCount++ ) {
138  if (*nextItem == 0) break;
139  item = nextItem;
140  nextItem += strlen(nextItem) + 1;
141  errlog << item;
142  }
143 
144  // If the direct ELrecv form was used, end the message,
145  // thus causing the logging. If the errlog (nbytes, data) form was
146  // used, the user will supply the endmsg.
147 
148  if ( localModule == "*ELrecv*" ) {
149  errlog << endmsg;
150  }
151 
152  if ( *nextItem++ != 0 ) {
153  errlog << endmsg;
154  errlog ( ELerror2, "Collection Error" ) <<
155  "Apparent runaway error message on the previous message!" <<
156  "Truncated after " << MAXITEMCOUNT << "items." << endmsg;
157  }
158  int diff = nextItem - data;
159  if ( diff != nbytes ) {
160  errlog << endmsg;
161  errlog ( ELerror2, "Collection Error" ) <<
162  "Apparent corrupted transmission of error message"
163  << "on the previous message!"
164  << "Total length was" << diff << "nbytes transmitted was" << nbytes
165  << endmsg;
166  }
167 
168  // End the message, before we swap back the context and process.
169  // (This is what makes the endmsg in errlog(nbytes, data) << endmsg
170  // superfluous.)
171 
172  errlog << endmsg;
173 
174  // Reset the context supplier and process to the remembered value.
175 
176  logger->swapContextSupplier(oldCS);
177  logger->swapProcess(oldProcess);
178 
179 } // ELrecv()
int module() const
Definition: HLTadd.h:12
std::ostream & logger()
Definition: fwLog.cc:41
void endmsg(ErrorLog &)
ELslProxy< ELerror2Gen > const ELerror2
tuple process
Definition: align_tpl.py:3
std::string ELstring
Definition: ELstring.h:26
template<class T >
void edm::service::ELtsItem ( ELtsErrorLog &  e,
const T &  t 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
const char  s[] 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
int  n 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
unsigned int  n 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
long  n 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
unsigned long  n 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
short  n 
)
inline
void edm::service::ELtsItem ( ELtsErrorLog &  e,
unsigned short  n 
)
inline
void edm::service::endmsg ( ErrorLog &  log)

Definition at line 357 of file ErrorLog.cc.

References edm::service::ErrorLog::endmsg().

Referenced by ELrecv().

357 { log.endmsg(); }
Log< T >::type log(const T &t)
Definition: Log.h:22
static ELstring edm::service::formatTime ( const time_t  t)
static

Definition at line 101 of file ELoutput.cc.

References b, and query::result.

Referenced by edm::service::ELoutput::changeFile(), edm::service::ELoutput::ELoutput(), and edm::service::ELoutput::log().

101  { // Change log 7
102 
103  static char const dummy[] = "dd-Mon-yyyy hh:mm:ss TZN "; // Change log 7 for length only
104  char ts[sizeof(dummy)]; // Change log 7
105 
106  struct tm timebuf; // Change log 7
107 
108  strftime( ts, sizeof(dummy), "%d-%b-%Y %H:%M:%S %Z", localtime_r(&t, &timebuf) ); // Change log 7
109  // mf 4-9-04
110 
111 #ifdef STRIP_TRAILING_BLANKS_IN_TIMEZONE
112  // strip trailing blanks that would come when the time zone is not as
113  // long as the maximum allowed - probably not worth the time
114  unsigned int b = strlen(ts);
115  while (ts[--b] == ' ') {ts[b] = 0;}
116 #endif
117 
118  ELstring result(ts); // Change log 7
119  return result; // Change log 7
120 } // formatTime()
tuple result
Definition: query.py:137
double b
Definition: hdecay.h:120
std::string ELstring
Definition: ELstring.h:26
static double edm::service::getCPU ( )
static

Definition at line 69 of file Timing.cc.

Referenced by edm::service::Timing::postBeginJob(), edm::service::Timing::postEndJob(), edm::service::Timing::postEventProcessing(), and edm::service::Timing::preEventProcessing().

69  {
70  struct rusage usage;
71  getrusage(RUSAGE_SELF, &usage);
72 
73  double totalCPUTime = 0.0;
74  // User code
75  totalCPUTime = (double)usage.ru_utime.tv_sec + (double(usage.ru_utime.tv_usec) * 1E-6);
76  // System functions
77  totalCPUTime += (double)usage.ru_stime.tv_sec + (double(usage.ru_stime.tv_usec) * 1E-6);
78  return totalCPUTime;
79  }
void usage()
Definition: array2xmlEB.cc:14
static double edm::service::getTime ( )
static
static double edm::service::getTime ( )
static

Definition at line 62 of file Timing.cc.

References edm::hlt::Exception.

62  {
63  struct timeval t;
64  if(gettimeofday(&t, 0) < 0)
65  throw cms::Exception("SysCallFailed", "Failed call to gettimeofday");
66  return static_cast<double>(t.tv_sec) + (static_cast<double>(t.tv_usec) * 1E-6);
67  }
static std::string edm::service::i2str ( int  i)
static

Definition at line 63 of file Memory.cc.

References i, and matplotRender::t.

Referenced by edm::service::SimpleMemoryCheck::eventStatOutput(), edm::service::CPU::postEndJob(), and edm::service::SimpleMemoryCheck::postEndJob().

63  {
64  std::ostringstream t;
65  t << i;
66  return t.str();
67  }
int i
Definition: DBlmapReader.cc:9
static void edm::service::msgabort ( )
inlinestatic

Definition at line 162 of file ErrorLog.cc.

References ExpressReco_HICollisions_FallBack::e, and edm::errors::LogicError.

162  {
163  std::ostringstream os;
164  os << "msgabort - MessageLogger Log requested to abort";
166  throw e;
167 }
static void edm::service::msgabort ( )
inlinestatic

Definition at line 288 of file ELadministrator.cc.

References ExpressReco_HICollisions_FallBack::e, and edm::errors::LogicError.

Referenced by edm::service::ELtsErrorLog::dispatch(), possiblyAbOrEx(), and possiblyAbortOrExit().

288  {
289  std::ostringstream os;
290  os << "msgabort - MessageLogger requested to abort";
292  throw e;
293 }
static void edm::service::msgabort ( )
inlinestatic

Definition at line 300 of file ELtsErrorLog.cc.

References ExpressReco_HICollisions_FallBack::e, and edm::errors::LogicError.

300  {
302  "msgabort - MessageLogger tsErrorLog requested to abort");
303  throw e;
304 }
static void edm::service::msgexit ( int  s)
inlinestatic

Definition at line 155 of file ErrorLog.cc.

References ExpressReco_HICollisions_FallBack::e, edm::errors::LogicError, and asciidump::s.

155  {
156  std::ostringstream os;
157  os << "msgexit - MessageLogger Log requested to exit with status " << s;
159  throw e;
160 }
string s
Definition: asciidump.py:422
static void edm::service::msgexit ( int  s)
inlinestatic

Definition at line 281 of file ELadministrator.cc.

References ExpressReco_HICollisions_FallBack::e, edm::errors::LogicError, and asciidump::s.

Referenced by possiblyAbOrEx(), and possiblyAbortOrExit().

281  {
282  std::ostringstream os;
283  os << "msgexit - MessageLogger requested to exit with status " << s;
285  throw e;
286 }
string s
Definition: asciidump.py:422
template<class Mutex >
ThreadSafeErrorLog<Mutex>& edm::service::operator<< ( ThreadSafeErrorLog< Mutex > &  e,
void(*)(ErrorLog &)  f 
)
inline
template<class Mutex , class T >
ThreadSafeErrorLog<Mutex>& edm::service::operator<< ( ThreadSafeErrorLog< Mutex > &  e,
const T &  t 
)
inline
template<class T >
ErrorLog& edm::service::operator<< ( ErrorLog &  e,
const T &  t 
)
inline
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
int  n 
)

Definition at line 363 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, m, n, and edm::service::ErrorLog::spaceAfterInt.

363  {
364  if (e.discarding) return e;
365  std::ostringstream ost;
366  ost << n;
367  int m = (n<0) ? -n : n;
368  if ( (e.hexTrigger >= 0) && (m >= e.hexTrigger) ) {
369  ost << " [0x"
370  << std::hex << std::setw(8) << std::setfill('0')
371  << n << "] ";
372  } else {
373  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
374  }
375  return e.emitToken( ost.str() );
376 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
long  n 
)

Definition at line 393 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, dttmaxenums::L, m, n, edm::service::ErrorLog::spaceAfterInt, and tablePrinter::width.

393  {
394  if (e.discarding) return e;
395  std::ostringstream ost;
396  ost << n;
397  long m = (n<0) ? -n : n;
398  if ( (e.hexTrigger >= 0) && (m >= e.hexTrigger) ) {
399  int width = 8;
400  if ( static_cast<unsigned long>(n) > 0xFFFFFFFFL ) width = 16;
401  ost << "[0x"
402  << std::hex << std::setw(width) << std::setfill('0')
403  << n << "] ";
404  } else {
405  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
406  }
407  return e.emitToken( ost.str() );
408 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
short  n 
)

Definition at line 427 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, m, n, and edm::service::ErrorLog::spaceAfterInt.

427  {
428  if (e.discarding) return e;
429  std::ostringstream ost;
430  ost << n;
431  short m = (n<0) ? -n : n;
432  if ( (e.hexTrigger >= 0) && (m >= e.hexTrigger) ) {
433  ost << "[0x"
434  << std::hex << std::setw(4) << std::setfill('0')
435  << n << "] ";
436  } else {
437  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
438  }
439  return e.emitToken( ost.str() );
440 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
unsigned int  n 
)

Definition at line 378 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, n, and edm::service::ErrorLog::spaceAfterInt.

378  {
379  if (e.discarding) return e;
380  std::ostringstream ost;
381  ost << n;
382  if ( (e.hexTrigger >= 0) &&
383  (n >= static_cast<unsigned int>(e.hexTrigger)) ) {
384  ost << "[0x"
385  << std::hex << std::setw(8) << std::setfill('0')
386  << n << "] ";
387  } else {
388  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
389  }
390  return e.emitToken( ost.str() );
391 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
unsigned long  n 
)

Definition at line 410 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, n, edm::service::ErrorLog::spaceAfterInt, and tablePrinter::width.

410  {
411  if (e.discarding) return e;
412  std::ostringstream ost;
413  ost << n;
414  if ( (e.hexTrigger >= 0) &&
415  (n >= static_cast<unsigned long>(e.hexTrigger)) ) {
416  int width = 8;
417  if ( n > 0xFFFFFFFFL ) width = 16;
418  ost << "[0x"
419  << std::hex << std::setw(width) << std::setfill('0')
420  << n << "] ";
421  } else {
422  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
423  }
424  return e.emitToken( ost.str() );
425 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
unsigned short  n 
)

Definition at line 442 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, edm::service::ErrorLog::emitToken(), edm::service::ErrorLog::hexTrigger, n, and edm::service::ErrorLog::spaceAfterInt.

442  {
443  if (e.discarding) return e;
444  std::ostringstream ost;
445  ost << n;
446  if ( (e.hexTrigger >= 0) && (n >= e.hexTrigger) ) {
447  ost << "[0x"
448  << std::hex << std::setw(4) << std::setfill('0')
449  << n << "] ";
450  } else {
451  if (e.spaceAfterInt) ost << " "; // $$mf 3/17/04
452  }
453  return e.emitToken( ost.str() );
454 }
ErrorLog & edm::service::operator<< ( ErrorLog &  e,
const char  s[] 
)

Definition at line 461 of file ErrorLog.cc.

References edm::service::ErrorLog::discarding, ExpressReco_HICollisions_FallBack::e, and edm::service::ErrorLog::emitToken().

461  {
462  // Exactly equivalent to the general template.
463  // If this is not provided explicitly, then the template will
464  // be instantiated once for each length of string ever used.
465  if (e.discarding) return e;
466  std::ostringstream ost;
467  ost << s << ' ';
468  return e.emitToken( ost.str() );
469 }
string s
Definition: asciidump.py:422
std::ostream & edm::service::operator<< ( std::ostream &  os,
SimpleMemoryCheck::SignificantEvent const &  se 
)

Definition at line 816 of file Memory.cc.

References edm::service::SimpleMemoryCheck::SignificantEvent::count, edm::service::SimpleMemoryCheck::SignificantEvent::deltaRss, edm::service::SimpleMemoryCheck::SignificantEvent::deltaVsize, edm::service::SimpleMemoryCheck::SignificantEvent::event, edm::service::SimpleMemoryCheck::SignificantEvent::rss, and edm::service::SimpleMemoryCheck::SignificantEvent::vsize.

817  {
818  os << "[" << se.count << "] "
819  << se.event << " vsize = " << se.vsize
820  << " deltaVsize = " << se.deltaVsize
821  << " rss = " << se.rss << " delta " << se.deltaRss;
822  return os;
823  }
std::ostream & edm::service::operator<< ( std::ostream &  os,
SimpleMemoryCheck::SignificantModule const &  sm 
)

Definition at line 826 of file Memory.cc.

References edm::service::SimpleMemoryCheck::SignificantModule::eventMaxDeltaV, edm::service::SimpleMemoryCheck::SignificantModule::maxDeltaVsize, edm::service::SimpleMemoryCheck::SignificantModule::maxEarlyVsize, edm::service::SimpleMemoryCheck::SignificantModule::postEarlyCount, edm::service::SimpleMemoryCheck::SignificantModule::totalDeltaVsize, and edm::service::SimpleMemoryCheck::SignificantModule::totalEarlyVsize.

827  {
828  if ( sm.postEarlyCount > 0 ) {
829  os << "\nPost Early Events: TotalDeltaVsize: " << sm.totalDeltaVsize
830  << " (avg: " << sm.totalDeltaVsize/sm.postEarlyCount
831  << "; max: " << sm.maxDeltaVsize
832  << " during " << sm.eventMaxDeltaV << ")";
833  }
834  if ( sm.totalEarlyVsize > 0 ) {
835  os << "\n Early Events: TotalDeltaVsize: " << sm.totalEarlyVsize
836  << " (max: " << sm.maxEarlyVsize << ")";
837  }
838 
839  return os;
840  }
static void edm::service::possiblyAbOrEx ( int  s,
int  a,
int  e 
)
inlinestatic

Definition at line 169 of file ErrorLog.cc.

References msgabort(), and msgexit().

Referenced by edm::service::ErrorLog::operator()().

169  {
170  if (s < a && s < e) return;
171  if (a < e) {
172  if ( s < e ) msgabort();
173  msgexit(s);
174  } else {
175  if ( s < a ) msgexit(s);
176  msgabort();
177  }
178 }
static void msgabort()
double a
Definition: hdecay.h:121
string s
Definition: asciidump.py:422
static void msgexit(int s)
static void edm::service::possiblyAbortOrExit ( int  s,
int  a,
int  e 
)
inlinestatic

Definition at line 295 of file ELadministrator.cc.

References msgabort(), and msgexit().

Referenced by edm::service::ELadministrator::finishMsg().

295  {
296  if (s < a && s < e) return;
297  if (a < e) {
298  if ( s < e ) msgabort();
299  msgexit(s);
300  } else {
301  if ( s < a ) msgexit(s);
302  msgabort();
303  }
304 }
static void msgabort()
double a
Definition: hdecay.h:121
string s
Definition: asciidump.py:422
static void msgexit(int s)

Variable Documentation

ELemptyContextSupplier edm::service::emptyContext
static

Definition at line 473 of file ELadministrator.cc.

ELstring edm::service::hereMsg = "available via this destination"
static
ELstring edm::service::noClearSummaryMsg = "No clearSummary()"
static

Definition at line 93 of file ELdestination.cc.

Referenced by edm::service::ELdestination::clearSummary().

ELstring edm::service::noosMsg = "No ostream"
static
ELstring edm::service::noSummarizationMsg = "No summarization()"
static

Definition at line 91 of file ELdestination.cc.

Referenced by edm::service::ELdestination::summarization().

ELstring edm::service::noSummaryMsg = "No summary()"
static

Definition at line 92 of file ELdestination.cc.

Referenced by edm::service::ELdestination::summary().

ELstring edm::service::notELoutputMsg = "This destination is not an ELoutput"
static

Definition at line 96 of file ELdestination.cc.

Referenced by edm::service::ELdestination::changeFile().