h_benchmark and h_benchmark_report work. Need tidying.

This commit is contained in:
Meredith L. Patterson 2012-11-09 01:50:07 -05:00
parent c24044230b
commit 6893987cbc
2 changed files with 16 additions and 13 deletions

View file

@ -586,7 +586,7 @@ const uint8_t* h_bit_writer_get_buffer(HBitWriter* w, size_t *len);
void h_bit_writer_free(HBitWriter* w);
// {{{ Benchmark functions
HBenchmarkResults *h_benchmark(const HParser* parser, HParserTestcase* testcases);
HAMMER_FN_DECL(HBenchmarkResults *, h_benchmark, const HParser* parser, HParserTestcase* testcases);
void h_benchmark_report(FILE* stream, HBenchmarkResults* results);
void h_benchmark_dump_optimized_code(FILE* stream, HBenchmarkResults* results);
// }}}