|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.TimeMeasure
public class TimeMeasure
TimeMeasure クラス。
このクラスは、コード実行時間の統計を取る為に使用します。 get_stat を使用してコード実行の最大・最小・平均・標準偏差時間を 計測できます。
入れ子のクラスの概要 | |
---|---|
class |
TimeMeasure.Statistics
時間統計用クラス。 |
コンストラクタの概要 | |
---|---|
TimeMeasure()
コンストラクタ。 |
|
TimeMeasure(int buflen)
コンストラクタ。 |
メソッドの概要 | |
---|---|
int |
count()
時間統計バッファサイズを取得する。 |
TimeMeasure.Statistics |
createStatistics()
Statistics クラスの生成。 |
TimeMeasure.Statistics |
getStatistics()
統計結果を取得する。 |
boolean |
getStatistics(TimeMeasure.Statistics s)
統計データの総計を取得する。 |
TimeValue |
interval()
経過時間を取得する。 |
void |
reset()
統計関連データの初期化。 |
void |
tack()
時間統計の計測を終了する。 |
void |
tick()
時間統計の計測を開始する。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public TimeMeasure(int buflen)
時間統計のプロファイリング
public TimeMeasure()
時間統計のプロファイリング
メソッドの詳細 |
---|
public void tick()
public void tack()
public TimeValue interval()
public void reset()
public int count()
public boolean getStatistics(TimeMeasure.Statistics s)
s
- Statistics クラス
public TimeMeasure.Statistics getStatistics()
public TimeMeasure.Statistics createStatistics()
Statisticsクラスを生成する。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |