256257258259260261262263264265266267
return stat; } public CounterStat getOutputPositions() { CounterStat stat = new CounterStat(); stat.merge(outputPositions); for (DriverContext driver : drivers) { stat.merge(driver.getOutputPositions()); } return stat; }
172173174175176177178179
OperatorContext inputOperator = getFirst(operatorContexts, null); if (inputOperator != null) { return inputOperator.getInputDataSize(); } else { return new CounterStat(); } }
183184185186187188189190
OperatorContext inputOperator = getFirst(operatorContexts, null); if (inputOperator != null) { return inputOperator.getInputPositions(); } else { return new CounterStat(); } }
194195196197198199200201
OperatorContext inputOperator = getLast(operatorContexts, null); if (inputOperator != null) { return inputOperator.getOutputDataSize(); } else { return new CounterStat(); } }
205206207208209210211212
OperatorContext inputOperator = getLast(operatorContexts, null); if (inputOperator != null) { return inputOperator.getOutputPositions(); } else { return new CounterStat(); } }
186187188189190191192193194195196197198
return cpuTimerEnabled; } public CounterStat getInputDataSize() { CounterStat stat = new CounterStat(); for (PipelineContext pipelineContext : pipelineContexts) { if (pipelineContext.isInputPipeline()) { stat.merge(pipelineContext.getInputDataSize()); } } return stat; }
197198199200201202203204205206207208209
return stat; } public CounterStat getInputPositions() { CounterStat stat = new CounterStat(); for (PipelineContext pipelineContext : pipelineContexts) { if (pipelineContext.isInputPipeline()) { stat.merge(pipelineContext.getInputPositions()); } } return stat; }
208209210211212213214215216217218219220
return stat; } public CounterStat getOutputDataSize() { CounterStat stat = new CounterStat(); for (PipelineContext pipelineContext : pipelineContexts) { if (pipelineContext.isOutputPipeline()) { stat.merge(pipelineContext.getOutputDataSize()); } } return stat; }
219220221222223224225226227228229230231
return stat; } public CounterStat getOutputPositions() { CounterStat stat = new CounterStat(); for (PipelineContext pipelineContext : pipelineContexts) { if (pipelineContext.isOutputPipeline()) { stat.merge(pipelineContext.getOutputPositions()); } } return stat; }
226227228229230231232233234235236237
return taskContext.isCpuTimerEnabled(); } public CounterStat getInputDataSize() { CounterStat stat = new CounterStat(); stat.merge(rawInputDataSize); for (DriverContext driver : drivers) { stat.merge(driver.getInputDataSize()); } return stat; }