SUNphi  1.0
BackTracing.hpp File Reference

Defines the backtracing function. More...

Go to the source code of this file.

Classes

class  SUNphi::BackTraceSymbol
 Decompose the backtrace symbol. More...
 

Functions

template<int NMAX_REW = 128>
Vector< BackTraceSymbol > SUNphi::getBackTraceList ()
 Gets the backtracing symbols list. More...
 
template<typename T >
T & SUNphi::operator<< (T &&os, const BackTraceSymbol &s)
 Print a symbol to a stream. More...
 
void SUNphi::printBacktraceList ()
 Write the list of called routines.
 

Detailed Description

Defines the backtracing function.

Definition in file BackTracing.hpp.

Function Documentation

template<int NMAX_REW = 128>
Vector<BackTraceSymbol> SUNphi::getBackTraceList ( )

Gets the backtracing symbols list.

Rewinded stack

Gets the stack and number of lines to be rewinded

Gets the symbols list

Result

Definition at line 43 of file BackTracing.hpp.

template<typename T >
T& SUNphi::operator<< ( T &&  os,
const BackTraceSymbol s 
)

Print a symbol to a stream.

Parameters
osStream
sSymbol to print

Definition at line 71 of file BackTracing.hpp.