parent
4a237889ca
commit
94b63d83ba
2 changed files with 17 additions and 9 deletions
|
|
@ -156,10 +156,17 @@ public:
|
|||
bool active = false;
|
||||
uint32_t iterations = 10;
|
||||
uint32_t currIteration = 0;
|
||||
std::string resultFile = "benchmarkresults";
|
||||
std::vector<double> iterationTime;
|
||||
struct FrameTimes {
|
||||
double min, max, avg;
|
||||
} frameTimes;
|
||||
void init() {
|
||||
iterationTime.resize(iterations);
|
||||
frameTimes.min = std::numeric_limits<double>::max();
|
||||
frameTimes.max = std::numeric_limits<double>::min();
|
||||
frameTimes.avg = 0.0;
|
||||
}
|
||||
} benchmark;
|
||||
|
||||
float zoom = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue