/[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

trunk/paso/src/performance.h revision 495 by gross, Mon Feb 6 06:32:06 2006 UTC temp/paso/src/performance.h revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC
# Line 1  Line 1 
1    
2  /* $Id$ */  /* $Id$ */
3    
4    /*******************************************************
5     *
6     *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8     *
9     *                http://esscc.uq.edu.au
10     *        Primary Business: Queensland, Australia
11     *  Licensed under the Open Software License version 3.0
12     *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  /**************************************************************/  /**************************************************************/
17    
18  /* Paso: perfomance monitor interface using papi              */  /* Paso: perfomance monitor interface using papi              */
# Line 39  struct Paso_Performance { Line 52  struct Paso_Performance {
52      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accummulator */      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accummulator */
53      long_long cycles[PERFORMANCE_NUM_MONITORS];                         /* cycle accumulator */      long_long cycles[PERFORMANCE_NUM_MONITORS];                         /* cycle accumulator */
54      int set[PERFORMANCE_NUM_MONITORS];      int set[PERFORMANCE_NUM_MONITORS];
55  }  };
56  #else  #else
57  struct Paso_Performance {  struct Paso_Performance {
58      int none;      int none;
# Line 48  struct Paso_Performance { Line 61  struct Paso_Performance {
61  typedef struct Paso_Performance Paso_Performance;  typedef struct Paso_Performance Paso_Performance;
62    
63    
64  void Performance_open(Paso_Performance* pp);  void Performance_open(Paso_Performance* pp,int verbose);
65  int  Performance_getEventIndex(Paso_Performance* pp, int event_id);  int  Performance_getEventIndex(Paso_Performance* pp, int event_id);
66  void Performance_close(Paso_Performance* pp);  void Performance_close(Paso_Performance* pp,int verbose);
67  void Performance_startMonitor(Paso_Performance* pp,int monitor);  void Performance_startMonitor(Paso_Performance* pp,int monitor);
68  void Performance_stopMonitor(Paso_Performance* pp,int monitor);  void Performance_stopMonitor(Paso_Performance* pp,int monitor);
69    

Legend:
Removed from v.495  
changed lines
  Added in v.1387

  ViewVC Help
Powered by ViewVC 1.1.26