SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
Public Member Functions | Protected Attributes | List of all members
smaug::DebugStream Class Reference

An stream class to consume debug logs. More...

#include <debug_stream.h>

Detailed Description

An stream class to consume debug logs.

Depending on the globalDebugLevel, logs are either printed to std::cout or swallowed.

Definition at line 12 of file debug_stream.h.

Public Member Functions

 DebugStream (bool _enabled)
 
template<typename T >
const DebugStreamoperator<< (T message) const
 

Protected Attributes

bool enabled
 

The documentation for this class was generated from the following file: