Class TestResult
java.lang.Object
eu.svjatoslav.sixth.e3d.examples.benchmark.TestResult
Holds the results of a single benchmark test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleAverage frames per second achieved during the test.final doubleDuration of the test in seconds.final longTotal number of frames rendered during the test.final StringThe name of the benchmark test. -
Constructor Summary
ConstructorsConstructorDescriptionTestResult(String testName, long frameCount, double durationSeconds) Creates a test result record. -
Method Summary
-
Field Details
-
testName
The name of the benchmark test. -
frameCount
public final long frameCountTotal number of frames rendered during the test. -
durationSeconds
public final double durationSecondsDuration of the test in seconds. -
averageFps
public final double averageFpsAverage frames per second achieved during the test.
-
-
Constructor Details
-
TestResult
Creates a test result record.- Parameters:
testName- the name of the testframeCount- total frames rendereddurationSeconds- test duration in seconds
-