Reworked benchmark code, store per frame times (instead of iteration totals)
Refs #269
This commit is contained in:
parent
b42d0edb3b
commit
107db7d244
2 changed files with 49 additions and 27 deletions
|
|
@ -672,7 +672,7 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation)
|
|||
if (args.size() > i + 2) {
|
||||
char* endptr;
|
||||
uint32_t iterations = strtol(args[i + 2], &endptr, 10);
|
||||
if (endptr != args[i + 2]) { benchmark.iterations = iterations; };
|
||||
if (endptr != args[i + 2]) { benchmark.iterationCount = iterations; };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue