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 class
Explain.ExplainCounts
static class
Explain.ExplainType
-
Constructor Summary
Constructors Constructor Description Explain()
-
Method Summary
-
-
-
Method Detail
-
setMemo
public static void setMemo(MemoTable memoTable)
Store memo table for adding additional explain info regarding hops.- Parameters:
memoTable
- to store in Explain
-
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(ArrayList<Instruction> inst)
-
explain
public static String explain(ArrayList<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)
-
createOffset
public static String createOffset(int level)
-
explainFunctionCallGraph
public static String explainFunctionCallGraph(FunctionCallGraph fgraph, HashSet<String> fstack, String fkey, int level)
-
-