Package org.apache.wayang.profiler.java
Class UnaryOperatorProfiler
java.lang.Object
org.apache.wayang.profiler.java.OperatorProfiler
org.apache.wayang.profiler.java.UnaryOperatorProfiler
-
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
ConstructorsConstructorDescriptionUnaryOperatorProfiler
(Supplier<JavaExecutionOperator> operatorGenerator, Supplier<?> dataQuantumGenerator) -
Method Summary
Modifier and TypeMethodDescriptionlong
Executes the profiling task.void
prepare
(long... inputCardinalities) Methods inherited from class org.apache.wayang.profiler.java.OperatorProfiler
createChannelInstance, createChannelInstance, evaluate, provideDiskBytes, provideNetworkBytes, run
-
Constructor Details
-
UnaryOperatorProfiler
public UnaryOperatorProfiler(Supplier<JavaExecutionOperator> operatorGenerator, Supplier<?> dataQuantumGenerator)
-
-
Method Details
-
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
- Overrides:
getOperator
in classOperatorProfiler
-