Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBtraceClock.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00013 
00014 //------------------------------------------+-----------------------------------
00016 
00017 inline bool CTBtraceClock::IsStarted() const
00018 {
00019   return mb_started;
00020 }
00021 
00022 //------------------------------------------+-----------------------------------
00024 
00025 inline double CTBtraceClock::CpuTime()
00026 {
00027   Update(e_cputime);
00028   return md_cputime;
00029 }
00030 
00031 //------------------------------------------+-----------------------------------
00033 
00034 inline double CTBtraceClock::ElapsedTime()
00035 {
00036   Update(e_elatime);
00037   return md_elatime;
00038 }
00039 
00040 //------------------------------------------+-----------------------------------
00042 
00043 inline CTBint CTBtraceClock::NInterval()
00044 {
00045   return mi_intervals;
00046 }
00047 
00048 //------------------------------------------+-----------------------------------
00054 inline ostream& operator<<(ostream& os, CTBtraceClock& obj)
00055 {
00056   obj.ToStream(os);
00057   return os;
00058 }
00059 

Generated at Fri Oct 24 18:11:30 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001