#include <Clock.h>
公開メンバ関数 | |
Clock (void) | |
void | reset (void) |
uint64_t | now (void) const |
void | wait (uint64_t duration) |
void | sleep (uint64_t duration) |
静的限定公開メンバ関数 | |
static uint64_t | getTim () |
EV3 クロッククラス
Clock | ( | void | ) |
コンストラクタ 開始時間をシステム時刻で初期化する
- |
|
staticprotected |
システム時刻取得
- |
uint64_t now | ( | void | ) | const |
経過時間取得 開始時間からの経過時間を取得する
- |
void reset | ( | void | ) |
リセット 開始時間を現在のシステム時刻でリセットする
- |
|
inline |
自タスクスリープ
duration | スリープ時間[usec] |
|
inline |
自タスク遅延
duration | 遅延時間[usec] |