メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

クラス TBenchmark の解説
[System Category]

This is the TBenchmark class. [詳細]

#include <TBenchmark.hh>

TBenchmarkのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public メソッド

 TBenchmark (const Tstring &unit=Tsec)
virtual ~TBenchmark ()
virtual Tvoid Start ()
virtual Tvoid Pause ()
virtual Tvoid Stop ()
virtual Tvoid Lap ()
virtual Tvoid Restart ()
virtual Tvoid Continue ()
virtual Tvoid PrintResult ()
const TSystemTimer & GetSystemTimer () const
const TSystemClock & GetSystemClock () const
TSystemTimer & GetSystemTimer ()
TSystemClock & GetSystemClock ()
const TstringGetStartTime () const
const TstringGetStopTime () const
Tvoid SetStartTime (const Tstring &time)
Tvoid SetStopTime (const Tstring &time)

Protected 変数

TSystemTimer theSystemTimer
TSystemClock theSystemClock
Tstring theStartTime
Tstring theStopTime

フレンド

Tostreamoperator<< (Tostream &tos, const TBenchmark &right)

解説

This is the TBenchmark class.

作者:
Go IWAI <goiwai@users.sourceforge.jp>
The TBenchmark class detail description. Write it down ASAP!

TODO:
None?

バグ:
None?
例:

terminal.cc.

TBenchmark.hh62 行で定義されています。


コンストラクタとデストラクタの解説

TBenchmark::TBenchmark const Tstring unit = Tsec  ) 
 

TBenchmark.cc21 行で定義されています。

TBenchmark::~TBenchmark  )  [virtual]
 

TBenchmark.cc25 行で定義されています。


メソッドの解説

Tvoid TBenchmark::Continue  )  [virtual]
 

TBenchmark.cc61 行で定義されています。

参照 TSystemTimer::Lap(), theSystemTimer, と Tvoid.

const Tstring & TBenchmark::GetStartTime  )  const [inline]
 

TBenchmark.hh123 行で定義されています。

参照 theStartTime, と Tstring.

const Tstring & TBenchmark::GetStopTime  )  const [inline]
 

TBenchmark.hh128 行で定義されています。

参照 theStopTime, と Tstring.

TSystemClock & TBenchmark::GetSystemClock  )  [inline]
 

TBenchmark.hh118 行で定義されています。

参照 theSystemClock.

const TSystemClock & TBenchmark::GetSystemClock  )  const [inline]
 

TBenchmark.hh108 行で定義されています。

参照 theSystemClock.

TSystemTimer & TBenchmark::GetSystemTimer  )  [inline]
 

TBenchmark.hh113 行で定義されています。

参照 theSystemTimer.

const TSystemTimer & TBenchmark::GetSystemTimer  )  const [inline]
 

TBenchmark.hh103 行で定義されています。

参照 theSystemTimer.

Tvoid TBenchmark::Lap  )  [virtual]
 

TBenchmark.cc55 行で定義されています。

参照 TSystemTimer::Lap(), theSystemTimer, と Tvoid.

Tvoid TBenchmark::Pause  )  [virtual]
 

TBenchmark.cc35 行で定義されています。

参照 TSystemTimer::Lap(), TSystemTimer::Pause(), theSystemTimer, と Tvoid.

Tvoid TBenchmark::PrintResult  )  [virtual]
 

TBenchmark.cc67 行で定義されています。

参照 Tcout, Tendl, と Tvoid.

Tvoid TBenchmark::Restart  )  [virtual]
 

TBenchmark.cc42 行で定義されています。

参照 TSystemTimer::Restart(), theSystemTimer, と Tvoid.

Tvoid TBenchmark::SetStartTime const Tstring time  )  [inline]
 

TBenchmark.hh133 行で定義されています。

参照 theStartTime, と Tvoid.

Tvoid TBenchmark::SetStopTime const Tstring time  )  [inline]
 

TBenchmark.hh139 行で定義されています。

参照 theStopTime, と Tvoid.

Tvoid TBenchmark::Start  )  [virtual]
 

例:
terminal.cc.

TBenchmark.cc28 行で定義されています。

参照 TSystemTimer::Start(), theStartTime, theSystemClock, theSystemTimer, Tvoid, と TSystemClock::WhatTimeIsItNow().

Tvoid TBenchmark::Stop  )  [virtual]
 

例:
terminal.cc.

TBenchmark.cc48 行で定義されています。

参照 TSystemTimer::Stop(), theStopTime, theSystemClock, theSystemTimer, Tvoid, と TSystemClock::WhatTimeIsItNow().


フレンドと関連する関数の解説

Tostream& operator<< Tostream tos,
const TBenchmark &  right
[friend]
 

TBenchmark.cc73 行で定義されています。


変数の解説

Tstring TBenchmark::theStartTime [protected]
 

TBenchmark.hh68 行で定義されています。

呼出 GetStartTime(), operator<<(), SetStartTime(), と Start().

Tstring TBenchmark::theStopTime [protected]
 

TBenchmark.hh69 行で定義されています。

呼出 GetStopTime(), operator<<(), SetStopTime(), と Stop().

TSystemClock TBenchmark::theSystemClock [protected]
 

TBenchmark.hh67 行で定義されています。

呼出 GetSystemClock(), Start(), と Stop().

TSystemTimer TBenchmark::theSystemTimer [protected]
 

TBenchmark.hh66 行で定義されています。

呼出 Continue(), GetSystemTimer(), Lap(), operator<<(), Pause(), Restart(), Start(), と Stop().


このクラスの解説は次のファイルから生成されました:

CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp