24 #include <sys/types.h> 54 inline unsigned int sleep(
unsigned int seconds)
83 tv.tv_sec = interval.
sec();
84 tv.tv_usec = interval.
usec();
85 return ::select(0, 0, 0, 0, &tv);
189 inline int settimeofday(
const struct timeval *tv ,
const struct timezone *tz)
197 #endif // COIL_TIME_H long int sec() const
秒単位の値を取得する
Definition: TimeValue.h:110
unsigned int sleep(unsigned int seconds)
指定された秒間は処理を休止する
Definition: Time.h:54
TimeValue クラス
Definition: TimeValue.h:40
int gettimeofday(struct timeval *tv, struct timezone *tz)
時刻とタイムゾーンを取得する
Definition: Time.h:137
int sleep(TimeValue interval)
指定された秒間は処理を休止する
Definition: Time.h:80
int settimeofday(const struct timeval *tv, const struct timezone *tz)
時刻とタイムゾーンを設定する
Definition: Time.h:189
long int usec() const
マイクロ秒単位の値を取得する
Definition: TimeValue.h:131
TimeValue gettimeofday()
時刻を取得する
Definition: Time.h:159
int usleep(useconds_t usec)
指定されたマイクロ秒間は処理を休止する
Definition: Time.h:109
Common Object Interface Layer.
Definition: Affinity.h:28