Class ReceiverStatsMetric
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.utils.profiler.ReceiverStatsMetric
-
- All Implemented Interfaces:
ProfilerThread.Metric
public class ReceiverStatsMetric extends Object implements ProfilerThread.Metric
Generate stats about receiver computation time
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReceiverStatsMetric.ReceiverComputationTime
static class
ReceiverStatsMetric.ReceiverCutProfiles
-
Constructor Summary
Constructors Constructor Description ReceiverStatsMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getColumnNames()
String[]
getCurrentValues()
void
onEndComputation(ReceiverStatsMetric.ReceiverComputationTime receiverComputationTime)
void
onReceiverCutProfiles(int receiverId, int receiverCutProfiles, int numberOfSources, int numberOfProcessSources)
void
tick(long currentMillis)
Called with little intervals in order to process metrics on the same thread than the call to getCurrentValues
-
-
-
Method Detail
-
tick
public void tick(long currentMillis)
Description copied from interface:ProfilerThread.Metric
Called with little intervals in order to process metrics on the same thread than the call to getCurrentValues- Specified by:
tick
in interfaceProfilerThread.Metric
- Parameters:
currentMillis
- Time
-
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interfaceProfilerThread.Metric
-
onEndComputation
public void onEndComputation(ReceiverStatsMetric.ReceiverComputationTime receiverComputationTime)
-
onReceiverCutProfiles
public void onReceiverCutProfiles(int receiverId, int receiverCutProfiles, int numberOfSources, int numberOfProcessSources)
-
getCurrentValues
public String[] getCurrentValues()
- Specified by:
getCurrentValues
in interfaceProfilerThread.Metric
-
-