/[escript]/trunk/escript/src/Taipan.h
ViewVC logotype

Diff of /trunk/escript/src/Taipan.h

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

revision 148 by jgs, Fri May 6 04:26:16 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 124  class Taipan { Line 124  class Taipan {
124    */    */
125    long    long
126    num_elements();    num_elements();
127    
128      /**
129         \brief
130         Print out statistics on the memory under management.
131      */
132      void
133      dump_stats();
134    
135      /**
136         \brief
137         Clear record of statistics on the memory under management.
138      */
139      void
140      clear_stats();
141    
142   protected:   protected:
143    
144   private:   private:
145    
146      typedef struct Taipan_StatTable {
147        int allocs;
148        int deallocs;
149        int arrays;
150        int dearrays;
151        long elements;
152        long deelements;
153      } Taipan_StatTable;
154    
155      Taipan_StatTable* statTable;
156    
157    typedef struct Taipan_MemTable {    typedef struct Taipan_MemTable {
158      double* array;      double* array;
159      int dim;      int dim;

Legend:
Removed from v.148  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26