#include <TraceDumper.h>
Onikiri::TraceDumperに対する継承グラフ
Public メソッド | |
int | Detail () const |
void | Dump (DUMP_STATE state, Op *op=NULL, int detail=-1) |
void | DumpStallBegin (Op *op) |
void | DumpStallEnd (Op *op) |
bool | Enabled () const |
void | Finalize () |
void | Initialize (const String &suffix) |
void | SetCurrentCycle (s64 cycle) |
TraceDumper () | |
virtual | ~TraceDumper () |
TraceDumper.h の 42 行で定義されています。
TraceDumper::TraceDumper | ( | ) |
TraceDumper.cpp の 46 行で定義されています。
00047 { 00048 m_enabled = false; 00049 m_detail = 0; 00050 m_valDetail = 0; 00051 m_cycle = 0; 00052 m_skipInsns = 0; 00053 m_flush = false; 00054 }
TraceDumper::~TraceDumper | ( | ) | [virtual] |
int Onikiri::TraceDumper::Detail | ( | ) | const [inline] |
void TraceDumper::Dump | ( | DUMP_STATE | state, | |
Op * | op = NULL , |
|||
int | detail = -1 | |||
) |
TraceDumper.cpp の 103 行で定義されています。
参照先 Detail()・Enabled()・Onikiri::Op::GetGlobalSerialID()・Onikiri::Op::ToString().
00104 { 00105 if( !Enabled() ) 00106 return; 00107 00108 if( op->GetGlobalSerialID() < m_skipInsns ) 00109 return; 00110 00111 const char* str = g_traceDumperStrTbl[state]; 00112 00113 if(detail == -1){ 00114 if(op == NULL){ 00115 DumpString(str); 00116 } 00117 else{ 00118 Dump(state, op, Detail()); 00119 } 00120 } 00121 else{ 00122 ostringstream oss; 00123 oss << str << "\t" << op->ToString(detail, m_valDetail > 0); 00124 DumpString(oss.str()); 00125 } 00126 00127 }
関数の呼び出しグラフ:
void TraceDumper::DumpStallBegin | ( | Op * | op | ) |
TraceDumper.cpp の 129 行で定義されています。
参照先 Enabled()・Onikiri::Op::GetGlobalSerialID()・Onikiri::Op::ToString().
00130 { 00131 if( !Enabled() ) 00132 return; 00133 00134 if( op->GetGlobalSerialID() < m_skipInsns ) 00135 return; 00136 00137 ostringstream oss; 00138 oss << "stall begin" << "\t" << op->ToString(0); 00139 DumpString(oss.str()); 00140 }
関数の呼び出しグラフ:
void TraceDumper::DumpStallEnd | ( | Op * | op | ) |
TraceDumper.cpp の 142 行で定義されています。
参照先 Enabled()・Onikiri::Op::GetGlobalSerialID()・Onikiri::Op::ToString().
00143 { 00144 if( !Enabled() ) 00145 return; 00146 00147 if( op->GetGlobalSerialID() < m_skipInsns ) 00148 return; 00149 00150 ostringstream oss; 00151 oss << "stall end" << "\t" << op->ToString(0); 00152 DumpString(oss.str()); 00153 }
関数の呼び出しグラフ:
bool Onikiri::TraceDumper::Enabled | ( | ) | const [inline] |
TraceDumper.h の 77 行で定義されています。
参照元 Dump()・DumpStallBegin()・DumpStallEnd().
Here is the caller graph for this function:
void TraceDumper::Finalize | ( | ) |
TraceDumper.cpp の 66 行で定義されています。
参照先 Onikiri::ParamExchange::ReleaseParam().
00067 { 00068 ReleaseParam(); 00069 Close(); 00070 }
関数の呼び出しグラフ:
void TraceDumper::Initialize | ( | const String & | suffix | ) |
TraceDumper.cpp の 60 行で定義されています。
参照先 Onikiri::ParamExchange::LoadParam().
00061 { 00062 LoadParam(); 00063 Open( suffix ); 00064 }
関数の呼び出しグラフ:
void TraceDumper::SetCurrentCycle | ( | s64 | cycle | ) |