Skip to content

Instantly share code, notes, and snippets.

@SnopyDogy
SnopyDogy / PerformanceTester.cpp
Last active December 16, 2015 04:59
A Class for testing the performance of code in isolation. Useful for testing one algorithm against another in a controlled environment. Includes a main function sowing example usage (it testes for and for each loop performance).
////////////////////////////////////////////////////////////
/// @file PerformanceTester.cpp
/// @author Greg Nott
/// @version 1.0 - Initial Version
/// @date 22/3/13
////////////////////////////////////////////////////////////
#include "PerformanceTester.h"
#include <stdio.h>