timeg /= loops;
#ifdef COMPLEX
- fprintf(stderr, " %10.2f MFlops\n", 4. * (double)m / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", 4. * (double)m / timeg * 1.e-6, timeg);
#else
- fprintf(stderr, " %10.2f MFlops\n", 2. * (double)m / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", 2. * (double)m / timeg * 1.e-6, timeg);
#endif
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MFlops\n",
- COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6);
+ " %10.2f MFlops %10.6f sec\n",
+ COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6, timeg);
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MBytes\n",
- COMPSIZE * sizeof(FLOAT) * 1. * (double)m / timeg * 1.e-6);
+ " %10.2f MBytes %10.6f sec\n",
+ COMPSIZE * sizeof(FLOAT) * 1. * (double)m / timeg * 1.e-6, timeg);
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MFlops\n",
- COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6);
+ " %10.2f MFlops %10.6f sec\n",
+ COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6, timeg);
}
timeg /= loops;
- fprintf(stderr, " %10.2f MFlops\n", COMPSIZE * COMPSIZE * 2. * (double)m * (double)n / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", COMPSIZE * COMPSIZE * 2. * (double)m * (double)n / timeg * 1.e-6, timeg);
}
}
timeg /= loops;
- fprintf(stderr, " %10.2f MFlops\n", COMPSIZE * COMPSIZE * 2. * (double)m * (double)n / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", COMPSIZE * COMPSIZE * 2. * (double)m * (double)n / timeg * 1.e-6, timeg);
}
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MFlops\n",
- COMPSIZE * COMPSIZE * 6. * (double)m / timeg * 1.e-6);
+ " %10.2f MFlops %10.6f sec\n",
+ COMPSIZE * COMPSIZE * 6. * (double)m / timeg * 1.e-6, timeg);
}
timeg /= loops;
#ifdef COMPLEX
- fprintf(stderr, " %10.2f MFlops\n", 6. * (double)m / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", 6. * (double)m / timeg * 1.e-6, timeg);
#else
- fprintf(stderr, " %10.2f MFlops\n", 1. * (double)m / timeg * 1.e-6);
+ fprintf(stderr, " %10.2f MFlops %10.6f sec\n", 1. * (double)m / timeg * 1.e-6, timeg);
#endif
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MBytes\n",
- COMPSIZE * sizeof(FLOAT) * 1. * (double)m / timeg * 1.e-6);
+ " %10.2f MBytes %10.6f sec\n",
+ COMPSIZE * sizeof(FLOAT) * 1. * (double)m / timeg * 1.e-6, timeg);
}
gettimeofday( &start, (struct timezone *)0);
fprintf(stderr,
- " %10.2f MFlops\n",
- COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6);
+ " %10.2f MFlops %10.6f sec\n",
+ COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6, time1);
}
timeg /= loops;
fprintf(stderr,
- " %10.2f MFlops\n",
- COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6);
+ " %10.2f MFlops %10.6f sec\n",
+ COMPSIZE * COMPSIZE * 2. * (double)m / timeg * 1.e-6, timeg);
}