diff options
Diffstat (limited to 'benchmarks/CUDA/WP/microclock.c')
| -rw-r--r-- | benchmarks/CUDA/WP/microclock.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/benchmarks/CUDA/WP/microclock.c b/benchmarks/CUDA/WP/microclock.c deleted file mode 100644 index 3cfc9d7..0000000 --- a/benchmarks/CUDA/WP/microclock.c +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef CRAY -# ifdef NOUNDERSCORE -# define RSL_INTERNAL_MICROCLOCK rsl_internal_microclock -# else -# ifdef F2CSTYLE -# define RSL_INTERNAL_MICROCLOCK rsl_internal_microclock__ -# else -# define RSL_INTERNAL_MICROCLOCK rsl_internal_microclock_ -# endif -# endif -#endif -#include <sys/time.h> - -RSL_INTERNAL_MICROCLOCK () -{ - struct timeval tb ; - struct timezone tzp ; - int isec ; /* seconds */ - int usec ; /* microseconds */ - int msecs ; - gettimeofday( &tb, &tzp ) ; - isec = tb.tv_sec ; - usec = tb.tv_usec ; - msecs = 1000000 * isec + usec ; - return(msecs) ; -} - -c_pow_ ( float * a, float * b ) -{ - *a = pow( *a , *b ) ; -} - - |
