common.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __COMMON_H
  2. #define __COMMON_H
  3. extern void timer_clear(int t);
  4. extern void timer_start(int t);
  5. extern void timer_stop(int t);
  6. extern double timer_read(int t);
  7. extern void c_print_results( char *name,
  8. char class,
  9. int n1,
  10. int n2,
  11. int n3,
  12. int niter,
  13. int nprocs_compiled,
  14. int nprocs_total,
  15. double t,
  16. double mops,
  17. char *optype,
  18. int passed_verification,
  19. char *npbversion,
  20. char *compiletime,
  21. char *mpicc,
  22. char *clink,
  23. char *cmpi_lib,
  24. char *cmpi_inc,
  25. char *cflags,
  26. char *clinkflags,
  27. char *randf );
  28. extern double randlc(double *x, double a);
  29. extern void vranlc(int n, double *x, double a, double y[]);
  30. #endif