SCM Repository
Diff of /benchmarks/programs/vr-lite-cam/bmark-teem.c
Parent Directory
|
Revision Log
|
Patch
revision 1585, Mon Oct 31 10:45:15 2011 UTC | revision 1586, Mon Oct 31 10:55:08 2011 UTC | |
---|---|---|
# | Line 14 | Line 14 |
14 | #include "teem/nrrd.h" | #include "teem/nrrd.h" |
15 | #include "teem/gage.h" | #include "teem/gage.h" |
16 | ||
17 | #include <sys/time.h> | #include "teem-defs.h" |
static double GetTime () | ||
{ | ||
struct timeval tv; | ||
gettimeofday (&tv, 0); | ||
return (double)tv.tv_sec + 0.000001 * (double)tv.tv_usec; | ||
} | ||
#define STATIC_INLINE static inline | ||
18 | ||
19 | STATIC_INLINE double dot3(double vec1[3], double vec2[3]) | STATIC_INLINE double dot3(double vec1[3], double vec2[3]) |
20 | { | { |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |