Skip to content

Commit 88f183f

Browse files
committed
Add benchmark title
1 parent 398a665 commit 88f183f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/benchmark.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ static void report_result(const char *input, struct TestResult result) {
681681
}
682682

683683
static void test_many_u32(const uint32_t *data) {
684+
printf("\n%50s", "=== libdivide u32 benchmark ===\n\n");
684685
report_header();
685686
uint32_t d;
686687
for (d=1; d > 0; d++) {
@@ -692,6 +693,7 @@ static void test_many_u32(const uint32_t *data) {
692693
}
693694

694695
static void test_many_s32(const int32_t *data) {
696+
printf("\n%50s", "=== libdivide s32 benchmark ===\n\n");
695697
report_header();
696698
int32_t d;
697699
for (d=1; d != 0;) {
@@ -706,6 +708,7 @@ static void test_many_s32(const int32_t *data) {
706708
}
707709

708710
static void test_many_u64(const uint64_t *data) {
711+
printf("\n%50s", "=== libdivide u64 benchmark ===\n\n");
709712
report_header();
710713
uint64_t d;
711714
for (d=1; d > 0; d++) {
@@ -717,6 +720,7 @@ static void test_many_u64(const uint64_t *data) {
717720
}
718721

719722
static void test_many_s64(const int64_t *data) {
723+
printf("\n%50s", "=== libdivide s64 benchmark ===\n\n");
720724
report_header();
721725
int64_t d;
722726
for (d=1; d != 0;) {

0 commit comments

Comments
 (0)