Classes | Namespaces | Defines
ScopedTimer.h File Reference
#include <boost/preprocessor/cat.hpp>
#include "icl_core/TimeStamp.h"
#include "icl_core/TimeSpan.h"
#include "icl_core_logging/LogLevel.h"
#include "icl_core_logging/LogStream.h"
#include "icl_core_logging/ThreadStream.h"
#include "icl_core_logging/LoggingMacros_SLOGGING.h"
Include dependency graph for ScopedTimer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  icl_core::logging::ScopedTimer< TStreamName >

Namespaces

namespace  icl_core
namespace  icl_core::logging
 

Flexible, powerful, configurable logging framework.


Defines

#define LOGGING_SCOPED_TIMER(streamname, description, level)   LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, "", "")
#define LOGGING_SCOPED_TIMER_C(streamname, description, level, classname)   LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, classname, "")
#define LOGGING_SCOPED_TIMER_CO(streamname, description, level, classname, objectname)   LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, classname, objectname)
#define LOGGING_SCOPED_TIMER_DEBUG(streamname, description)   (void)0
#define LOGGING_SCOPED_TIMER_DEBUG_C(streamname, description, classname)   (void)0
#define LOGGING_SCOPED_TIMER_DEBUG_CO(streamname, description, classname, objectname)   (void)0
#define LOGGING_SCOPED_TIMER_DEBUG_V(streamname, varname, description)   (void)0
#define LOGGING_SCOPED_TIMER_DEBUG_VC(streamname, varname, description, classname)   (void)0
#define LOGGING_SCOPED_TIMER_DEBUG_VCO(streamname, varname, description, classname, objectname)   (void)0
#define LOGGING_SCOPED_TIMER_ERROR(streamname, description)   LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_ERROR)
#define LOGGING_SCOPED_TIMER_ERROR_C(streamname, description, classname)   LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_ERROR, classname)
#define LOGGING_SCOPED_TIMER_ERROR_CO(streamname, description, classname, objectname)   LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_ERROR, classname, objectname)
#define LOGGING_SCOPED_TIMER_ERROR_V(streamname, varname, description)   LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_ERROR)
#define LOGGING_SCOPED_TIMER_ERROR_VC(streamname, varname, description, classname)   LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_ERROR, classname)
#define LOGGING_SCOPED_TIMER_ERROR_VCO(streamname, varname, description, classname, objectname)   LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_ERROR, classname, objectname)
#define LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, filename, line, classname, objectname)   LOGGING_SCOPED_TIMER_VFLCO(streamname, BOOST_PP_CAT(scoped_timer_, line), description, level, filename, line, classname, objectname)
#define LOGGING_SCOPED_TIMER_INFO(streamname, description)   LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_INFO)
#define LOGGING_SCOPED_TIMER_INFO_C(streamname, description, classname)   LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_INFO, classname)
#define LOGGING_SCOPED_TIMER_INFO_CO(streamname, description, classname, objectname)   LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_INFO, classname, objectname)
#define LOGGING_SCOPED_TIMER_INFO_V(streamname, varname, description)   LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_INFO)
#define LOGGING_SCOPED_TIMER_INFO_VC(streamname, varname, description, classname)   LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_INFO, classname)
#define LOGGING_SCOPED_TIMER_INFO_VCO(streamname, varname, description, classname, objectname)   LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_INFO, classname, objectname)
#define LOGGING_SCOPED_TIMER_TRACE(streamname, description)   (void)0
#define LOGGING_SCOPED_TIMER_TRACE_C(streamname, description, classname)   (void)0
#define LOGGING_SCOPED_TIMER_TRACE_CO(streamname, description, classname, objectname)   (void)0
#define LOGGING_SCOPED_TIMER_TRACE_V(streamname, varname, description)   (void)0
#define LOGGING_SCOPED_TIMER_TRACE_VC(streamname, varname, description, classname)   (void)0
#define LOGGING_SCOPED_TIMER_TRACE_VCO(streamname, varname, description, classname, objectname)   (void)0
#define LOGGING_SCOPED_TIMER_V(streamname, varname, description, level)   LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, "", "")
#define LOGGING_SCOPED_TIMER_VC(streamname, varname, description, level, classname)   LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, classname, "")
#define LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, level, classname, objectname)   LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, classname, objectname)
#define LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, filename, line, classname, objectname)   ::icl_core::logging::ScopedTimer<streamname> varname(description, level, filename, line, classname, objectname)
#define LOGGING_SCOPED_TIMER_WARNING(streamname, description)   LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_WARNING)
#define LOGGING_SCOPED_TIMER_WARNING_C(streamname, description, classname)   LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_WARNING, classname)
#define LOGGING_SCOPED_TIMER_WARNING_CO(streamname, description, classname, objectname)   LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_WARNING, classname, objectname)
#define LOGGING_SCOPED_TIMER_WARNING_V(streamname, varname, description)   LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_WARNING)
#define LOGGING_SCOPED_TIMER_WARNING_VC(streamname, varname, description, classname)   LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_WARNING, classname)
#define LOGGING_SCOPED_TIMER_WARNING_VCO(streamname, varname, description, classname, objectname)   LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_WARNING, classname, objectname)

Detailed Description

Author:
Jan Oberlaender <oberlaender@fzi.de>
Date:
2013-12-13

Definition in file ScopedTimer.h.


Define Documentation

#define LOGGING_SCOPED_TIMER (   streamname,
  description,
  level 
)    LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, "", "")

Definition at line 150 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_C (   streamname,
  description,
  level,
  classname 
)    LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, classname, "")

Definition at line 148 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_CO (   streamname,
  description,
  level,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_FLCO(streamname, description, level, __FILE__, __LINE__, classname, objectname)

Definition at line 146 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG (   streamname,
  description 
)    (void)0

Definition at line 160 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG_C (   streamname,
  description,
  classname 
)    (void)0

Definition at line 171 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG_CO (   streamname,
  description,
  classname,
  objectname 
)    (void)0

Definition at line 182 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG_V (   streamname,
  varname,
  description 
)    (void)0

Definition at line 193 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG_VC (   streamname,
  varname,
  description,
  classname 
)    (void)0

Definition at line 204 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_DEBUG_VCO (   streamname,
  varname,
  description,
  classname,
  objectname 
)    (void)0

Definition at line 215 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR (   streamname,
  description 
)    LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_ERROR)

Definition at line 153 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR_C (   streamname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_ERROR, classname)

Definition at line 164 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR_CO (   streamname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_ERROR, classname, objectname)

Definition at line 175 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR_V (   streamname,
  varname,
  description 
)    LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_ERROR)

Definition at line 186 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR_VC (   streamname,
  varname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_ERROR, classname)

Definition at line 197 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_ERROR_VCO (   streamname,
  varname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_ERROR, classname, objectname)

Definition at line 208 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_FLCO (   streamname,
  description,
  level,
  filename,
  line,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_VFLCO(streamname, BOOST_PP_CAT(scoped_timer_, line), description, level, filename, line, classname, objectname)

Definition at line 144 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO (   streamname,
  description 
)    LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_INFO)

Definition at line 155 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO_C (   streamname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_INFO, classname)

Definition at line 166 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO_CO (   streamname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_INFO, classname, objectname)

Definition at line 177 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO_V (   streamname,
  varname,
  description 
)    LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_INFO)

Definition at line 188 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO_VC (   streamname,
  varname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_INFO, classname)

Definition at line 199 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_INFO_VCO (   streamname,
  varname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_INFO, classname, objectname)

Definition at line 210 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE (   streamname,
  description 
)    (void)0

Definition at line 161 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE_C (   streamname,
  description,
  classname 
)    (void)0

Definition at line 172 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE_CO (   streamname,
  description,
  classname,
  objectname 
)    (void)0

Definition at line 183 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE_V (   streamname,
  varname,
  description 
)    (void)0

Definition at line 194 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE_VC (   streamname,
  varname,
  description,
  classname 
)    (void)0

Definition at line 205 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_TRACE_VCO (   streamname,
  varname,
  description,
  classname,
  objectname 
)    (void)0

Definition at line 216 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_V (   streamname,
  varname,
  description,
  level 
)    LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, "", "")

Definition at line 141 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_VC (   streamname,
  varname,
  description,
  level,
  classname 
)    LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, classname, "")

Definition at line 139 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_VCO (   streamname,
  varname,
  description,
  level,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_VFLCO(streamname, varname, description, level, __FILE__, __LINE__, classname, objectname)

Definition at line 137 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_VFLCO (   streamname,
  varname,
  description,
  level,
  filename,
  line,
  classname,
  objectname 
)    ::icl_core::logging::ScopedTimer<streamname> varname(description, level, filename, line, classname, objectname)

Definition at line 135 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING (   streamname,
  description 
)    LOGGING_SCOPED_TIMER(streamname, description, ::icl_core::logging::eLL_WARNING)

Definition at line 154 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING_C (   streamname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_C(streamname, description, ::icl_core::logging::eLL_WARNING, classname)

Definition at line 165 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING_CO (   streamname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_CO(streamname, description, ::icl_core::logging::eLL_WARNING, classname, objectname)

Definition at line 176 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING_V (   streamname,
  varname,
  description 
)    LOGGING_SCOPED_TIMER_V(streamname, varname, description, ::icl_core::logging::eLL_WARNING)

Definition at line 187 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING_VC (   streamname,
  varname,
  description,
  classname 
)    LOGGING_SCOPED_TIMER_VC(streamname, varname, description, ::icl_core::logging::eLL_WARNING, classname)

Definition at line 198 of file ScopedTimer.h.

#define LOGGING_SCOPED_TIMER_WARNING_VCO (   streamname,
  varname,
  description,
  classname,
  objectname 
)    LOGGING_SCOPED_TIMER_VCO(streamname, varname, description, ::icl_core::logging::eLL_WARNING, classname, objectname)

Definition at line 209 of file ScopedTimer.h.



fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:25