nkaje commented on a change in pull request #2372:
URL: https://github.com/apache/mynewt-core/pull/2372#discussion_r485564267
##########
File path: apps/crypto_test/src/main.c
##########
@@ -286,7 +288,10 @@ run_benchmark(char *name, block_encrypt_func_t encfn, void
*data, uint8_t iter)
}
}
}
- printf("done in %lu ticks\n", os_time_get() - t);
+ e = os_time_get() - t;
+ ret = os_time_ticks_to_ms(e, &ms);
+ assert(ret == 0);
+ printf("done in %lu ticks / %lu ms\n", e, ms);
Review comment:
done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]