DP-HLS
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
LoopLogger Class Reference

#include <pyapi.h>

Public Member Functions

template<typename... Args>
unordered_map< string,
unordered_map< string, list
< unordered_map< int, tuple
< Args...> > > > > 
get_timelines ()
 

Static Public Member Functions

template<typename... Args>
static auto logImpl (const Args &...args)
 
template<typename... Args>
static void log (string func, string name, int i, bool init, const Args &...args)
 Logger. All the data stored into this data structure should be std data type translated with the translate function in util. Wanted to use variadic data structure but it's pretty hard. Use tuple temporarily. More...
 

Static Public Attributes

template<typename... Args>
static unordered_map< string,
unordered_map< string, list
< unordered_map< int, tuple
< Args...> > > > > 
timelines
 

Member Function Documentation

template<typename... Args>
unordered_map<string, unordered_map<string, list<unordered_map<int, tuple<Args...> > > > > LoopLogger::get_timelines ( )
inline
template<typename... Args>
static void LoopLogger::log ( string  func,
string  name,
int  i,
bool  init,
const Args &...  args 
)
inlinestatic

Logger. All the data stored into this data structure should be std data type translated with the translate function in util. Wanted to use variadic data structure but it's pretty hard. Use tuple temporarily.

Template Parameters
Args
Parameters
func: In which funciton is the loop located.
name: Name of the loop.
i: Iteration of the Loop.
init: Whether this is a initialization. Could pass something like i == 0 meaning automatically set init to true if it's 0th iteration.
args: Data Structures to Record.
template<typename... Args>
static auto LoopLogger::logImpl ( const Args &...  args)
inlinestatic

Member Data Documentation

template<typename... Args>
unordered_map<string, unordered_map<string, list<unordered_map<int, tuple<Args...> > > > > LoopLogger::timelines
static

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