SSM
Typedefs | Functions

include/ssm-time.h File Reference

SSM 用共通時間ライブラリ用ヘッダ More...

#include <unistd.h>
#include <time.h>

Go to the source code of this file.

Typedefs

typedef double ssmTimeT

Functions

ssmTimeT gettimeSSM (void)
 SSM時刻を取得する
ssmTimeT gettimeSSM_real (void)
 現在時刻を取得する
unsigned int sleepSSM (double sec)
 SSMの再生速度に合わせたsleep.
int usleepSSM (useconds_t usec)
 SSMの再生速度に合わせたusleep.

Detailed Description

SSM 用共通時間ライブラリ用ヘッダ

特に特別なことをするわけではなく、時間に共通性を持たせるため。

ssmTimeT は現状では double 型でやってるけど、本来は long 型でやる方が最小分解能の関係上適している。 でもなんかめんどいのでとりあえず double 型。

2003-01-22 やはり long にする。 2003-01-22 ・・・やっぱdouble。

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines