aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/include
diff options
context:
space:
mode:
Diffstat (limited to 'BuddhaTest/include')
-rw-r--r--BuddhaTest/include/Helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/BuddhaTest/include/Helpers.h b/BuddhaTest/include/Helpers.h
index b4954c0..2b0ea88 100644
--- a/BuddhaTest/include/Helpers.h
+++ b/BuddhaTest/include/Helpers.h
@@ -14,6 +14,8 @@ namespace Helpers
void WriteOutputPNG(const std::string& path, const std::vector<uint32_t>& data, unsigned int width, unsigned int bufferHeight, double gamma, double colorScale);
+ void PrintBenchmarkScore(const std::vector<uint32_t>& data);
+
/** Wraps around a C file descriptor. Libpng could be taught to use C++ streams, but I'm too lazy and rather wrap this ugly thing up, so it gets cleaned... */
class ScopedCFileDescriptor
{
@@ -56,6 +58,8 @@ namespace Helpers
unsigned int ignoreMaxBufferSize = 0;
unsigned int printDebugOutput = 0;
+ unsigned int benchmarkTime = 0;
+
bool CheckValidity();
bool ParseCommandLine(int argc, char * argv[]);
};