microbench: use us precision timer

This commit is contained in:
Zihao Yu 2021-01-27 21:22:32 +08:00
parent 242c1f1f53
commit f4f447c422
2 changed files with 18 additions and 14 deletions

View file

@ -89,7 +89,7 @@ extern Setting *setting;
typedef struct Result {
int pass;
unsigned long tsc, msec;
uint64_t usec;
} Result;
void prepare(Result *res);