Mercurial > hg > fxanalyse
annotate future.h @ 137:792ac7151f0f
Fix Allan deviation linear drift contribution removal
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 22 Jan 2014 13:41:07 +0100 |
parents | 4102fe614df2 |
children | b955e35c07ae |
rev | line source |
---|---|
91
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
1 #ifndef __FUTURE_H__ |
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
2 #define __FUTURE_H__ |
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
3 |
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
4 #include <ansi_c.h> |
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
5 |
16
9d57d1fcbcd5
Implementation of the C99 round() function
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
6 double round(double x); |
81
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
7 |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
8 typedef long int suseconds_t; |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
9 |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
10 struct timeval { |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
11 time_t tv_sec; /* seconds since 1970-01-01 */ |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
12 suseconds_t tv_usec; /* microseconds */ |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
13 }; |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
14 |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
15 struct timezone { |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
16 int tz_minuteswest; |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
17 int tz_dsttime; |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
18 }; |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
19 |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
20 int gettimeofday(struct timeval *tp, struct timezone *tzp); |
be814b934eca
Implement gettimeofday()
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
16
diff
changeset
|
21 |
91
4102fe614df2
Fix timestamping. Cleanup data providers
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
81
diff
changeset
|
22 #endif |