Add more benchmarks, add subcount option
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
#define BH_BENCH_H
|
||||
|
||||
|
||||
#include <BH/Common.h>
|
||||
|
||||
|
||||
typedef struct BH_Bench BH_Bench;
|
||||
typedef void (*BH_BenchCallback)(BH_Bench *);
|
||||
|
||||
@@ -21,6 +24,10 @@ void BH_BenchAdd(const char *name,
|
||||
int BH_BenchIter(BH_Bench *state);
|
||||
|
||||
|
||||
void BH_BenchSubcount(BH_Bench *state,
|
||||
size_t count);
|
||||
|
||||
|
||||
int BH_BenchRun(void);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user