change time from double to struct timespec
This commit is contained in:
@@ -29,8 +29,11 @@
|
||||
|
||||
extern conf_t Conf;
|
||||
extern limits_t Xlimits, Ylimits;
|
||||
double nanotime();
|
||||
void getModData(coordval_pair_t *c, movestate_t *xst, movestate_t *yst);
|
||||
int curtime(struct timespec *t);
|
||||
double timediff(const struct timespec *time1, const struct timespec *time0);
|
||||
double timediff0(const struct timespec *time1);
|
||||
double timefromstart();
|
||||
void getModData(coordpair_t *c, movestate_t *xst, movestate_t *yst);
|
||||
typedef struct{
|
||||
double *x, *t, *t2, *xt; // arrays of coord/time and multiply
|
||||
double xsum, tsum, t2sum, xtsum; // sums of coord/time and their multiply
|
||||
|
||||
Reference in New Issue
Block a user