SNAP Library 2.0, Developer Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TExeTm Class Reference

#include <tm.h>

List of all members.

Public Member Functions

 TExeTm ()
 TExeTm (const TExeTm &Tm)
TExeTmoperator= (const TExeTm &Tm)
void Tick ()
int GetTime () const
double GetSecs () const
int GetSecInt ()
const char * GetStr () const
TStr GetStr2 () const
const char * GetTmStr () const

Static Public Member Functions

static char * GetCurTm ()

Private Attributes

int LastTick

Detailed Description

Definition at line 354 of file tm.h.


Constructor & Destructor Documentation

TExeTm::TExeTm ( ) [inline]

Definition at line 358 of file tm.h.

References Tick().

: LastTick(0) { Tick(); }

Here is the call graph for this function:

TExeTm::TExeTm ( const TExeTm Tm) [inline]

Definition at line 359 of file tm.h.

: LastTick(Tm.LastTick) { }

Member Function Documentation

static char* TExeTm::GetCurTm ( ) [inline, static]

Definition at line 373 of file tm.h.

References TStr::CStr().

Referenced by TTimeNet::PlotMissingPast(), and TLocClustStat::Run().

{ static TStr TmStr; TmStr=TSecTm::GetCurTm().GetTmStr(); return TmStr.CStr(); }

Here is the call graph for this function:

Here is the caller graph for this function:

int TExeTm::GetSecInt ( ) [inline]

Definition at line 366 of file tm.h.

References GetSecs(), and TFlt::Round().

{ return TFlt::Round(GetSecs()); }

Here is the call graph for this function:

TStr TExeTm::GetStr2 ( ) const [inline]

Definition at line 368 of file tm.h.

References GetTmStr().

{return GetTmStr();}

Here is the call graph for this function:

int TExeTm::GetTime ( ) const [inline]

Definition at line 364 of file tm.h.

References LastTick.

Referenced by TTmStopWatch::GetTime(), and TTmStopWatch::Stop().

{return int(clock()-LastTick);}

Here is the caller graph for this function:

TExeTm& TExeTm::operator= ( const TExeTm Tm) [inline]

Definition at line 360 of file tm.h.

References LastTick.

                                     {
    LastTick=Tm.LastTick; return *this;}

Member Data Documentation

int TExeTm::LastTick [private]

Definition at line 356 of file tm.h.

Referenced by GetSecs(), GetTime(), operator=(), and Tick().


The documentation for this class was generated from the following file: