Skip to content

Commit cd8871f

Browse files
committed
Use the correct unit of measure
1 parent 97c36ca commit cd8871f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: benchmark/spr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]){
187187
timeg /= loops;
188188

189189
fprintf(stderr,
190-
" %10.2f MBytes %10.6f sec\n",
190+
" %10.2f MFlops %10.6f sec\n",
191191
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m / timeg * 1.e-6, timeg);
192192

193193
}

Diff for: benchmark/spr2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ int main(int argc, char *argv[]){
196196
timeg /= loops;
197197

198198
fprintf(stderr,
199-
" %10.2f MBytes %10.6f sec\n",
199+
" %10.2f MFlops %10.6f sec\n",
200200
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m / timeg * 1.e-6, timeg);
201201

202202
}

0 commit comments

Comments
 (0)