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

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

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

revision 1558 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1559 by ksteube, Wed May 21 04:27:15 2008 UTC
# Line 338  Taipan::dump_stats() { Line 338  Taipan::dump_stats() {
338    float elMb=statTable->allocated_elements*8.0/1048576;    float elMb=statTable->allocated_elements*8.0/1048576;
339    float deelMb=statTable->deallocated_elements*8.0/1048576;    float deelMb=statTable->deallocated_elements*8.0/1048576;
340    float tszMb=statTable->max_tab_size*8.0/1048576;    float tszMb=statTable->max_tab_size*8.0/1048576;
341    #ifdef TAIPAN_STATS
342    cout << "======= escript Mem Stats ===========================" << endl;    cout << "======= escript Mem Stats ===========================" << endl;
343    cout << "Total Num requests:             " << statTable->requests << endl;    cout << "Total Num requests:             " << statTable->requests << endl;
344    cout << "Total Num releases:             " << statTable->frees << endl;    cout << "Total Num releases:             " << statTable->frees << endl;
# Line 349  Taipan::dump_stats() { Line 350  Taipan::dump_stats() {
350    cout << "Curr Num arrays:                " << num_arrays() << endl;    cout << "Curr Num arrays:                " << num_arrays() << endl;
351    cout << "Curr Num elements in buffer:    " << num_elements() << endl;    cout << "Curr Num elements in buffer:    " << num_elements() << endl;
352    cout << "==================================================" << endl;    cout << "==================================================" << endl;
353    #endif
354  }  }
355    
356  void  void

Legend:
Removed from v.1558  
changed lines
  Added in v.1559

  ViewVC Help
Powered by ViewVC 1.1.26