add benchmark to app. TODO: test benchmark.
This commit is contained in:
parent
3fd8bacbf3
commit
d41727dd19
|
@ -87,9 +87,9 @@ void organize_result(const benchmark_handle *handle) {
|
|||
while (bmh_list[i].handle != NULL) {
|
||||
if (bmh_list[i].handle == handle) {
|
||||
bmh_list[i].time = tmp_diff;
|
||||
break;
|
||||
printf("[BENCHMARK] Time Cost: %-15s %.4f\n", bmh_list[i].name,
|
||||
bmh_list[i].time);
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue