public class SimplePerformanceMeter extends AnimationTimer
| Type | Property and Description |
|---|---|
ReadOnlyDoubleProperty |
actualFrameRate |
DoubleProperty |
averageFactor
IIR-alpha filter constant as in y(n) = alpha * x(n) + (1-alpha) * y(n-1)
typically: alpha ~ Ts /(Ts+T) with
'Ts' being the sampling period, and 'T' the desired IIR time constant
|
ReadOnlyDoubleProperty |
averageFrameRate |
ReadOnlyDoubleProperty |
averageFxFrameRate |
ReadOnlyDoubleProperty |
averageProcessCpuLoad |
ReadOnlyDoubleProperty |
averageSystemCpuLoad |
ReadOnlyDoubleProperty |
fxFrameRate |
ReadOnlyDoubleProperty |
maxProcessCpuLoad |
ReadOnlyDoubleProperty |
minProcessCpuLoad |
ReadOnlyDoubleProperty |
processCpuLoad |
ReadOnlyDoubleProperty |
systemCpuLoad |
| Constructor and Description |
|---|
SimplePerformanceMeter(Scene scene,
long updateDuration) |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
actualFrameRateProperty() |
DoubleProperty |
averageFactorProperty()
IIR-alpha filter constant as in y(n) = alpha * x(n) + (1-alpha) * y(n-1)
typically: alpha ~ Ts /(Ts+T) with
'Ts' being the sampling period, and 'T' the desired IIR time constant
|
ReadOnlyDoubleProperty |
averageFrameRateProperty() |
ReadOnlyDoubleProperty |
averageFxFrameRateProperty() |
ReadOnlyDoubleProperty |
averageProcessCpuLoadProperty() |
ReadOnlyDoubleProperty |
averageSystemCpuLoadProperty() |
ReadOnlyDoubleProperty |
fxFrameRateProperty() |
double |
getActualFrameRate()
Gets the value of the property actualFrameRate.
|
double |
getAverageFrameRate()
Gets the value of the property averageFrameRate.
|
double |
getAverageFxFrameRate()
Gets the value of the property averageFxFrameRate.
|
double |
getAverageProcessCpuLoad()
Gets the value of the property averageProcessCpuLoad.
|
double |
getAverageSystemCpuLoad()
Gets the value of the property averageSystemCpuLoad.
|
double |
getFxFrameRate()
Gets the value of the property fxFrameRate.
|
double |
getMaxProcessCpuLoad()
Gets the value of the property maxProcessCpuLoad.
|
double |
getMinProcessCpuLoad()
Gets the value of the property minProcessCpuLoad.
|
double |
getProcessCpuLoad()
Gets the value of the property processCpuLoad.
|
double |
getSystemCpuLoad()
Gets the value of the property systemCpuLoad.
|
void |
handle(long now) |
ReadOnlyDoubleProperty |
maxProcessCpuLoadProperty() |
ReadOnlyDoubleProperty |
minProcessCpuLoadProperty() |
ReadOnlyDoubleProperty |
processCpuLoadProperty() |
void |
resetAverages() |
ReadOnlyDoubleProperty |
systemCpuLoadProperty() |
start, stoppublic ReadOnlyDoubleProperty actualFrameRateProperty
getActualFrameRate()public DoubleProperty averageFactorProperty
public ReadOnlyDoubleProperty averageFrameRateProperty
getAverageFrameRate()public ReadOnlyDoubleProperty averageFxFrameRateProperty
getAverageFxFrameRate()public ReadOnlyDoubleProperty averageProcessCpuLoadProperty
getAverageProcessCpuLoad()public ReadOnlyDoubleProperty averageSystemCpuLoadProperty
getAverageSystemCpuLoad()public ReadOnlyDoubleProperty fxFrameRateProperty
getFxFrameRate()public ReadOnlyDoubleProperty maxProcessCpuLoadProperty
getMaxProcessCpuLoad()public ReadOnlyDoubleProperty minProcessCpuLoadProperty
getMinProcessCpuLoad()public ReadOnlyDoubleProperty processCpuLoadProperty
getProcessCpuLoad()public ReadOnlyDoubleProperty systemCpuLoadProperty
getSystemCpuLoad()public SimplePerformanceMeter(Scene scene, long updateDuration)
public ReadOnlyDoubleProperty actualFrameRateProperty()
getActualFrameRate()public DoubleProperty averageFactorProperty()
public ReadOnlyDoubleProperty averageFrameRateProperty()
getAverageFrameRate()public ReadOnlyDoubleProperty averageFxFrameRateProperty()
getAverageFxFrameRate()public ReadOnlyDoubleProperty averageProcessCpuLoadProperty()
getAverageProcessCpuLoad()public ReadOnlyDoubleProperty averageSystemCpuLoadProperty()
getAverageSystemCpuLoad()public ReadOnlyDoubleProperty fxFrameRateProperty()
getFxFrameRate()public double getActualFrameRate()
public double getAverageFrameRate()
public double getAverageFxFrameRate()
public double getAverageProcessCpuLoad()
public double getAverageSystemCpuLoad()
public double getFxFrameRate()
public double getMaxProcessCpuLoad()
public double getMinProcessCpuLoad()
public double getProcessCpuLoad()
public double getSystemCpuLoad()
public void handle(long now)
handle in class AnimationTimerpublic ReadOnlyDoubleProperty maxProcessCpuLoadProperty()
getMaxProcessCpuLoad()public ReadOnlyDoubleProperty minProcessCpuLoadProperty()
getMinProcessCpuLoad()public ReadOnlyDoubleProperty processCpuLoadProperty()
getProcessCpuLoad()public void resetAverages()
public ReadOnlyDoubleProperty systemCpuLoadProperty()
getSystemCpuLoad()Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.