Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piggypiggy committed Jan 10, 2021
1 parent e75ca01 commit e11680d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ message("processor : ${CMAKE_SYSTEM_PROCESSOR}")
message("build type : ${CMAKE_BUILD_TYPE}")
message("C compiler : ${CMAKE_C_COMPILER}")
message("C compiler flags : ${CMAKE_C_FLAGS} ${${BUILD_FLAGS}} ${EXTRA_C_FLAGS}")
message("assembler : ${CMAKE_ASM_COMPILER}")
message("assembler : ${CMAKE_ASM_COMPILER}\n")
4 changes: 2 additions & 2 deletions bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ static void _run_bench(int64_t N)
avg_speed_MB = (N * MSGLEN) / usec;
avg_speed_Gb = 8 * avg_speed_MB / 1000;
printf("cycles/block : %ld \n", (int64_t)(TICKS() / (N * MSGLEN / 64)));
printf("数据块大小(B) \t 总时间(ms) \t 平均速度(MB/s) \t 平均速度(Gb/s) \n");
printf(" %d \t %.4f \t %.4f \t %.4f \n\n", MSGLEN, usec/1000, avg_speed_MB, avg_speed_Gb);
printf("总时间(ms) \t 平均速度(MB/s) \t 平均速度(Gb/s) \n");
printf("%.4f \t %.4f \t %.4f \n\n", usec/1000, avg_speed_MB, avg_speed_Gb);
}

static void run_bench(char *name, int64_t N)
Expand Down

0 comments on commit e11680d

Please sign in to comment.