[zeromq-dev] Precision Timestamping

Ilya Dmitrichenko errordeveloper at gmail.com
Tue Sep 6 11:54:38 CEST 2011

On 5 September 2011 23:23, Pieter Hintjens <ph at imatix.com> wrote:
> What APIs are available for working with PTP?

PTP had been around for a while, IEEE has two revisions 1588-2002
and 1588-2008 which are referred to as PTP and PTPv2 respectively.

there is also a directory with examples:
these are certainly present in 2.6.39.

I also just found that there is a sysfs interface as well:

and ptpd/ptpv2d on sourceforge/googlecode, I am not 100% sure
of the current status. I am going to investigate this shortly.

I will have a look into the kernel git tree and see the most recent
code and hopefully more docs :)

I'll need to figure really how PTP can be used without the HW support,
of course it won't perform as great, though should do well for prototyping.
Well, it's in git tree it should be rather mature implementation.
Richard Cochran seems to be the author of all PTP commits  and he works
for Omicron (a measurement & instrumentation company).

Unfortunately I do not have any hardware that supports it, but there is
a plenty available. My main concern up till now had been how do I wish
to use it - I knew that it could be integrate with a message/control
protocol, though it was all a bit vague until I discovered zmq ;))

Hardware may be a little bit off-topic here, so email me directly please,
if you wish to discuss this.


More information about the zeromq-dev mailing list