Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
gts::analysis::ConcurrentLogger Class Reference

A serialized log of per-thread messages. More...

#include <ConcurrentLogger.h>

Public Member Functions

GTS_INLINE void nameThread (CaptureMask::Type captureMask, const char *fmt,...)
 
GTS_INLINE void logf (CaptureMask::Type captureMask, const char *fmt,...)
 
GTS_INLINE void logp (CaptureMask::Type captureMask, const char *txt)
 
GTS_INLINE void logp (CaptureMask::Type captureMask, const char *txt, uintptr_t param1)
 
GTS_INLINE void logp (CaptureMask::Type captureMask, const char *txt, uintptr_t param1, uintptr_t param2)
 
GTS_INLINE void logp (CaptureMask::Type captureMask, const char *txt, uintptr_t param1, uintptr_t param2, uintptr_t param3)
 
GTS_INLINE void setCaptureMask (uint64_t captureMask)
 
GTS_INLINE void reset (CaptureMask::Type captureMask)
 
GTS_INLINE void lock ()
 
GTS_INLINE void unlock ()
 
GTS_INLINE ConcurrentLoggerEventgetEvents (size_t *outEventCount)
 
GTS_INLINE std::map< std::thread::id, std::string > const & getThreadNamesMap () const
 

Detailed Description

A serialized log of per-thread messages.