Package org.apache.wayang.profiler.java
Class BinaryOperatorProfiler
- java.lang.Object
-
- org.apache.wayang.profiler.java.OperatorProfiler
-
- org.apache.wayang.profiler.java.BinaryOperatorProfiler
-
public class BinaryOperatorProfiler extends OperatorProfiler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wayang.profiler.java.OperatorProfiler
OperatorProfiler.Result
-
-
Field Summary
-
Fields inherited from class org.apache.wayang.profiler.java.OperatorProfiler
cpuMhz, dataQuantumGenerators, executor, logger, operator, operatorGenerator
-
-
Constructor Summary
Constructors Constructor Description BinaryOperatorProfiler(java.util.function.Supplier<JavaExecutionOperator> operatorGenerator, java.util.function.Supplier<?> dataQuantumGenerator0, java.util.function.Supplier<?> dataQuantumGenerator1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeOperator()
Executes the profiling task.JavaExecutionOperator
getOperator()
void
prepare(long... inputCardinalities)
-
Methods inherited from class org.apache.wayang.profiler.java.OperatorProfiler
createChannelInstance, createChannelInstance, evaluate, provideDiskBytes, provideNetworkBytes, run
-
-
-
-
Constructor Detail
-
BinaryOperatorProfiler
public BinaryOperatorProfiler(java.util.function.Supplier<JavaExecutionOperator> operatorGenerator, java.util.function.Supplier<?> dataQuantumGenerator0, java.util.function.Supplier<?> dataQuantumGenerator1)
-
-
Method Detail
-
prepare
public void prepare(long... inputCardinalities)
- Overrides:
prepare
in classOperatorProfiler
-
executeOperator
public long executeOperator()
Description copied from class:OperatorProfiler
Executes the profiling task. Requires that this instance is prepared.- Specified by:
executeOperator
in classOperatorProfiler
-
getOperator
public JavaExecutionOperator getOperator()
- Overrides:
getOperator
in classOperatorProfiler
-
-