Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /benchmarks/programs/ridge3d/bmark-teem.c
ViewVC logotype

Diff of /benchmarks/programs/ridge3d/bmark-teem.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1585, Mon Oct 31 10:45:15 2011 UTC revision 1586, Mon Oct 31 10:55:08 2011 UTC
# Line 10  Line 10 
10    
11  #include <stdio.h>  #include <stdio.h>
12  #include <math.h>  #include <math.h>
 #include <sys/time.h>  // needed for timing code  
13  #include "teem/nrrd.h"  #include "teem/nrrd.h"
14  #include "teem/gage.h"  #include "teem/gage.h"
15  #include "teem/ell.h"  #include "teem/ell.h"
16    
17  static double GetTime ()  #include "teem-defs.h"
 {  
     struct timeval tv;  
   
     gettimeofday (&tv, 0);  
   
     return (double)tv.tv_sec + 0.000001 * (double)tv.tv_usec;  
 }  
   
 #define STATIC_INLINE static inline  
18    
19  int inside (double pos[3]) {  int inside (double pos[3]) {
20    if(pos[0] < -0.5 || pos[0] > 175.5) return 0;    if(pos[0] < -0.5 || pos[0] > 175.5) return 0;

Legend:
Removed from v.1585  
changed lines
  Added in v.1586

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0