This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile with: gcc -std=gnu99 example.c profiler.c -lrt | |
#include "profiler.h" | |
#include <stdio.h> | |
FILE *devnull; | |
Profiler p_total; | |
Profiler p_foo8; | |
Profiler p_foo10; | |
// Run n! times |