QuickProf

Tyler Streeter

 

 

 

Summary

QuickProf is a simple runtime performance measurement tool for C++ code. It provides a rough performance estimate with minimal effort. This kind of feedback can be invaluable to developers who want to optimize performance where it matters.

 

Code Sample

#include <quickprof/quickprof.h>

 

PROFILER.init();

...

PROFILER.beginBlock("physics");

updatePhysicsSimulation();

PROFILER.endBlock("physics");

 

PROFILER.beginBlock("graphics");

redrawGraphics();

PROFILER.endBlock("graphics");

...

std::cout << PROFILER.getSummary() << std::endl;

 

Features

> Consists of a single header file

> Small, simple API

> Supports UNIX and Windows

 

Links

How to Use It instructions and examples

API Reference description of all profiler methods

Download SourceForge download page

 

Also try QuickTest (unit testing) and QuickMP (loop parallelization).

 

 

 

SourceForge.net Logo