From 0715aedcebad2d60e63a583be800d112a7f55a2d Mon Sep 17 00:00:00 2001 From: TXuian <1163589503@qq.com> Date: Thu, 8 Dec 2022 15:41:16 +0800 Subject: [PATCH] Add Benchmark to App. TODO: Test Benchmark in other kernels. --- APP_Framework/Applications/benchmark/src/md5sum/md5.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/APP_Framework/Applications/benchmark/src/md5sum/md5.c b/APP_Framework/Applications/benchmark/src/md5sum/md5.c index 993d1c3f3..2668a2e48 100644 --- a/APP_Framework/Applications/benchmark/src/md5sum/md5.c +++ b/APP_Framework/Applications/benchmark/src/md5sum/md5.c @@ -199,16 +199,16 @@ static int __attribute__((noinline)) benchmark_body(int rpt, int len) { uint8_t *p; // display result p = (uint8_t *)&h0; - printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); + // printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); p = (uint8_t *)&h1; - printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); + // printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); p = (uint8_t *)&h2; - printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); + // printf("%2.2x%2.2x%2.2x%2.2x", p[0], p[1], p[2], p[3]); p = (uint8_t *)&h3; - printf("%2.2x%2.2x%2.2x%2.2x\n", p[0], p[1], p[2], p[3]); + // printf("%2.2x%2.2x%2.2x%2.2x\n", p[0], p[1], p[2], p[3]); } return h0 ^ h1 ^ h2 ^ h3;