/[escript]/trunk/paso/src/performance.h
ViewVC logotype

Diff of /trunk/paso/src/performance.h

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

revision 3641 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3642 by caltinay, Thu Oct 27 03:41:51 2011 UTC
# Line 27  Line 27 
27  #define INC_PASO_PERFORMANCE  #define INC_PASO_PERFORMANCE
28    
29  #define PERFORMANCE_UNMONITORED_EVENT -1  #define PERFORMANCE_UNMONITORED_EVENT -1
30  #define PERFORMANCE_NUM_EVENTS 10                         /* maximum number of events handeled by PAPI */  #define PERFORMANCE_NUM_EVENTS 10                         /* maximum number of events handled by PAPI */
31    
32  #define PERFORMANCE_ALL 0  #define PERFORMANCE_ALL 0
33  #define PERFORMANCE_SOLVER 1  #define PERFORMANCE_SOLVER 1
# Line 48  struct Paso_Performance { Line 48  struct Paso_Performance {
48      int event_set;                                                       /* papi event sets for the monitors */      int event_set;                                                       /* papi event sets for the monitors */
49      int num_events;                                                     /* number of events tracked by the monitors */      int num_events;                                                     /* number of events tracked by the monitors */
50      int events[PERFORMANCE_NUM_EVENTS];                                 /* the event tracked by the monitors */      int events[PERFORMANCE_NUM_EVENTS];                                 /* the event tracked by the monitors */
51      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accummulator */      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accumulator */
52      long_long cycles[PERFORMANCE_NUM_MONITORS];                         /* cycle accumulator */      long_long cycles[PERFORMANCE_NUM_MONITORS];                         /* cycle accumulator */
53      int set[PERFORMANCE_NUM_MONITORS];      int set[PERFORMANCE_NUM_MONITORS];
54  };  };

Legend:
Removed from v.3641  
changed lines
  Added in v.3642

  ViewVC Help
Powered by ViewVC 1.1.26