Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

infolines.cxx File Reference

#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <iostream>
#include <iomanip>
#include "infolines.h"

Include dependency graph for infolines.cxx:

Include dependency graph

Go to the source code of this file.

Functions

ostream & operator<< (ostream &out, const MemUsage &memu)
ostream & operator<< (ostream &out, const SysInfo &si)


Function Documentation

ostream& operator<< ostream &  out,
const SysInfo si
 

Definition at line 114 of file infolines.cxx.

00115 {
00116   out << si.tm
00117       << si.pl
00118       << si.us
00119       << si.mu
00120       << si.cpunorm << endl;
00121   return out;
00122 }

ostream& operator<< ostream &  out,
const MemUsage memu
 

Definition at line 104 of file infolines.cxx.

00105 {
00106   //out << "# Memory usage : " << setw(7) << memu.getPeakMem() << "Mb (peak)  " 
00107   //    << setw(4) << memu.getEstimate() << "Mb (estimate)"   << endl;
00108   out << "# Memory usage : " << setw(7) << memu.getEstimate() 
00109       << "Mb (estimate)"   << endl;
00110   return out;
00111 }


Generated on Mon Apr 25 01:11:32 2005 for Parquete by doxygen 1.3.2