diff options
| author | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
| commit | 11b308e7363e937966b035b4891db32b4eece3bf (patch) | |
| tree | 50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/CUDA/WP/microclock.c | |
| parent | bb820c116764d7a1b8e071137d32b74e7f34dd2f (diff) | |
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such
as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
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 ) ; -} - - |
