This is an implementation of the time stamp processor as discussed in
the thread on improving accuracy with software timestamping. I would
like to get some feedback before finishing it and rebasing the other
patches on top of it.
Is this a step in the right direction?
Miroslav Lichvar (2):
Introduce a time stamp processor for offset/delay calculations and use
it in the clock and port modules. Also, convert and correct the time
stamps early to reduce the number of parameters.
---
clock.c | 143 +-
clock.h | 22 -
---
clock.c | 5 +++--
port.c | 2 +-
tsproc.c | 27 ++-
tsproc.h | 5 +++--
4 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/clock.c b/clock.c
index f52dc0b..1ec2b0d 100644
--- a/clock.c
+++ b/clock.c
@@ -852,7 +852,8 @@ struct clock
On Fri, Mar 13, 2015 at 11:47:28AM +0100, Miroslav Lichvar wrote:
This is an implementation of the time stamp processor as discussed in
the thread on improving accuracy with software timestamping. I would
like to get some feedback before finishing it and rebasing the other
patches on top of
On Fri, Mar 13, 2015 at 11:47:29AM +0100, Miroslav Lichvar wrote:
Introduce a time stamp processor for offset/delay calculations and use
it in the clock and port modules. Also, convert and correct the time
stamps early to reduce the number of parameters.
The early correction part should come
On Fri, Mar 13, 2015 at 11:47:30AM +0100, Miroslav Lichvar wrote:
diff --git a/tsproc.h b/tsproc.h
index 6ea91ed..b55e896 100644
--- a/tsproc.h
+++ b/tsproc.h
@@ -31,7 +31,8 @@ struct tsproc;
*
* @return A pointer to a new tsproc on success, NULL otherwise.
*/
-struct tsproc