|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.Debug
Debug:
Debug class for printing debug information. Debug-print can be controlled by command option -coins:trace=xx1.n1/xx2.n2 ... where xx1, xx2, .. are one of Control -- What phases and (principal) modules are executed HIR -- HIR information Sym -- Sym and symbol table information Flow -- Control flow and data flow information Alias -- Alias analysis information //##31 Parse -- C Parser information ToHir -- C-AST (abstract syntax tree of C) to HIR transformation inf Opt1 -- HIR optimizer information Para1 -- Loop parallelizer information and n1, n2, ... are debug level of corresponding debug-control. 0: no output, 1: major, ... 9: very much detailed information. Example: -coins:trace=HIR.1/Sym.1/Flow.2 Note: There are other debug-print control items that do not use this Debug class. See TRACE of Registry.java.
コンストラクタの概要 | |
Debug(IoRoot pIoRoot)
Debug: Constructor to initiate all Debug objects. |
|
Debug(IoRoot pIoRoot,
java.lang.String pHeader,
int pDebugLevel)
Debug: Constructor for each Debug class. |
メソッドの概要 | |
int |
getLevel()
|
void |
initiate()
Initialize debug control information. |
void |
print(int pLevel,
java.lang.String pMessage)
print without at-parameter: Print debug message if pLevel <= fDebugLevel at the end of current line (without starting new line). |
void |
print(int pLevel,
java.lang.String pAt,
java.lang.String pMessage)
print with at-parameter: Print debug message if pLevel <= fDebugLevel after starting new line. |
void |
println(int pLevel)
println: Line feed if pLevel <= fDebugLevel. |
void |
printObject(int pLevel,
java.lang.String pHeader,
java.lang.Object pObject)
printObject: Print pObject.toString() if pObject is not null after pHeader. |
void |
setLevel(int pLevel)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public Debug(IoRoot pIoRoot)
public Debug(IoRoot pIoRoot, java.lang.String pHeader, int pDebugLevel)
メソッドの詳細 |
public void initiate()
public void print(int pLevel, java.lang.String pAt, java.lang.String pMessage)
pAt
- : Shows where the message is issued (method name, etc.)public void print(int pLevel, java.lang.String pMessage)
public void println(int pLevel)
public void printObject(int pLevel, java.lang.String pHeader, java.lang.Object pObject)
public void setLevel(int pLevel)
public int getLevel()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |