03.01.2014, 12:13
That's a great idea, it would definitely make benchmarks more thorough and evident.
I was thinking of:
Though there will be more than those 3.
I was thinking of:
pawn Код:
Benchmark:bench1[100000]()
{
}
main()
{
new
average,
fastest,
slowest;
Benchmark_Execute("bench1", average, fastest, slowest);
printf("Average time between each tick: %d ms", average);
printf("Fastest phase: %d ms", fastest);
printf("Slowest phase: %d ms", slowest);
}