add benchmark to app. TODO: test benchmark.

This commit is contained in:
TXuian 2022-12-07 16:35:50 +08:00
parent 3fd8bacbf3
commit d41727dd19
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}