/[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 495 by gross, Mon Feb 6 06:32:06 2006 UTC revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
1  /* $Id$ */  
2    /*******************************************************
3    *
4    * Copyright (c) 2003-2008 by University of Queensland
5    * Earth Systems Science Computational Center (ESSCC)
6    * http://www.uq.edu.au/esscc
7    *
8    * Primary Business: Queensland, Australia
9    * Licensed under the Open Software License version 3.0
10    * http://www.opensource.org/licenses/osl-3.0.php
11    *
12    *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
# Line 39  struct Paso_Performance { Line 51  struct Paso_Performance {
51      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accummulator */      long_long values[PERFORMANCE_NUM_MONITORS][PERFORMANCE_NUM_EVENTS]; /* counter accummulator */
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  }  };
55  #else  #else
56  struct Paso_Performance {  struct Paso_Performance {
57      int none;      int none;
# Line 48  struct Paso_Performance { Line 60  struct Paso_Performance {
60  typedef struct Paso_Performance Paso_Performance;  typedef struct Paso_Performance Paso_Performance;
61    
62    
63  void Performance_open(Paso_Performance* pp);  void Performance_open(Paso_Performance* pp,int verbose);
64  int  Performance_getEventIndex(Paso_Performance* pp, int event_id);  int  Performance_getEventIndex(Paso_Performance* pp, int event_id);
65  void Performance_close(Paso_Performance* pp);  void Performance_close(Paso_Performance* pp,int verbose);
66  void Performance_startMonitor(Paso_Performance* pp,int monitor);  void Performance_startMonitor(Paso_Performance* pp,int monitor);
67  void Performance_stopMonitor(Paso_Performance* pp,int monitor);  void Performance_stopMonitor(Paso_Performance* pp,int monitor);
68    

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

  ViewVC Help
Powered by ViewVC 1.1.26