Package org.apache.sysds.utils
Class Explain
- java.lang.Object
 - 
- org.apache.sysds.utils.Explain
 
 
- 
public class Explain extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExplain.ExplainCountsstatic classExplain.ExplainType 
- 
Constructor Summary
Constructors Constructor Description Explain() 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
display
public static String display(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts)
 
- 
explainMemoryBudget
public static String explainMemoryBudget()
 
- 
explainMemoryBudget
public static String explainMemoryBudget(Explain.ExplainCounts counts)
 
- 
explainDegreeOfParallelism
public static String explainDegreeOfParallelism()
 
- 
explainDegreeOfParallelism
public static String explainDegreeOfParallelism(Explain.ExplainCounts counts)
 
- 
explain
public static String explain(DMLProgram prog, Program rtprog, Explain.ExplainType type)
 
- 
explain
public static String explain(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts)
 
- 
explain
public static String explain(DMLProgram prog)
 
- 
explain
public static String explain(Program rtprog, Explain.ExplainCounts counts)
 
- 
explain
public static String explain(ProgramBlock pb)
 
- 
explain
public static String explain(List<Instruction> inst)
 
- 
explain
public static String explain(List<Instruction> inst, int level)
 
- 
explain
public static String explain(Instruction inst)
 
- 
explain
public static String explain(StatementBlock sb)
 
- 
explainLineageItems
public static String explainLineageItems(LineageItem[] lis)
 
- 
explainLineageItems
public static String explainLineageItems(LineageItem[] lis, int level)
 
- 
explain
public static String explain(LineageItem li)
 
- 
countDistributedOperations
public 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
 
 
- 
getIdentation
public static String getIdentation(int level)
 
- 
explainProgramBlocks
public static String explainProgramBlocks(List<ProgramBlock> pbs)
 
- 
createOffset
public static String createOffset(int level)
 
- 
explainFunctionCallGraph
public static String explainFunctionCallGraph(FunctionCallGraph fgraph, Set<String> fstack, String fkey, int level)
 
 - 
 
 -