Package org.apache.sysds.utils
Class Explain
- java.lang.Object
- 
- org.apache.sysds.utils.Explain
 
- 
 public class Explain extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classExplain.ExplainCountsstatic classExplain.ExplainType
 - 
Constructor SummaryConstructors Constructor Description Explain()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
setMemopublic static void setMemo(MemoTable memoTable) Store memo table for adding additional explain info regarding hops.- Parameters:
- memoTable- to store in Explain
 
 - 
displaypublic static String display(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts) 
 - 
explainMemoryBudgetpublic static String explainMemoryBudget() 
 - 
explainMemoryBudgetpublic static String explainMemoryBudget(Explain.ExplainCounts counts) 
 - 
explainDegreeOfParallelismpublic static String explainDegreeOfParallelism() 
 - 
explainDegreeOfParallelismpublic static String explainDegreeOfParallelism(Explain.ExplainCounts counts) 
 - 
explainpublic static String explain(DMLProgram prog, Program rtprog, Explain.ExplainType type) 
 - 
explainpublic static String explain(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts) 
 - 
explainpublic static String explain(DMLProgram prog) 
 - 
explainpublic static String explain(Program rtprog, Explain.ExplainCounts counts) 
 - 
explainpublic static String explain(ProgramBlock pb) 
 - 
explainpublic static String explain(ArrayList<Instruction> inst) 
 - 
explainpublic static String explain(ArrayList<Instruction> inst, int level) 
 - 
explainpublic static String explain(Instruction inst) 
 - 
explainpublic static String explain(StatementBlock sb) 
 - 
explainLineageItemspublic static String explainLineageItems(LineageItem[] lis) 
 - 
explainLineageItemspublic static String explainLineageItems(LineageItem[] lis, int level) 
 - 
explainpublic static String explain(LineageItem li) 
 - 
countDistributedOperationspublic static Explain.ExplainCounts countDistributedOperations(Program rtprog) Counts the number of compiled MRJob/Spark instructions in the given runtime program.- Parameters:
- rtprog- runtime program
- Returns:
- counts
 
 - 
getIdentationpublic static String getIdentation(int level) 
 - 
createOffsetpublic static String createOffset(int level) 
 - 
explainFunctionCallGraphpublic static String explainFunctionCallGraph(FunctionCallGraph fgraph, HashSet<String> fstack, String fkey, int level) 
 
- 
 
-