Browse Source

Use the correct unit of measure

tags/v0.3.10^2
s00527847 5 years ago
parent
commit
cd8871f1a1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      benchmark/spr.c
  2. +1
    -1
      benchmark/spr2.c

+ 1
- 1
benchmark/spr.c View File

@@ -187,7 +187,7 @@ int main(int argc, char *argv[]){
timeg /= loops;
fprintf(stderr,
" %10.2f MBytes %10.6f sec\n",
" %10.2f MFlops %10.6f sec\n",
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m / timeg * 1.e-6, timeg);

}


+ 1
- 1
benchmark/spr2.c View File

@@ -196,7 +196,7 @@ int main(int argc, char *argv[]){
timeg /= loops;
fprintf(stderr,
" %10.2f MBytes %10.6f sec\n",
" %10.2f MFlops %10.6f sec\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m / timeg * 1.e-6, timeg);

}


Loading…
Cancel
Save