1 microsec precision is a no-hope on Windows.
I would say that is a no-hope requirement for *whatever* operating system.
What you can do is to buy a DAG card from Endace. These will have this kind
of precision.
fulvio
-----Original Message-----
From: Toby Harris [mailto:[EMAIL PROTECTED]
Sent: luned� 26 aprile 2004 17.52
To: '[EMAIL PROTECTED]'
Subject: [WinPcap-users] Synchronising capture time from multiple sources
Hi
I currently use WinPCap to capture network packets but also wish to capture
serial comms at the same time. My data logging application needs to provide
provide a means for synchronising the times of serial data received in
conjunction with network packets received.
I can obtain a high precision timestamp for the serial data using
QueryPerformanceCounter and QueryPerformanceCounter but the generated
timestamp does not tie in with the timestamp generated by WinPCap. I require
accuracy to 6dp (1 microsecond) for all timestamps.
I'm using Windows XP and Delphi 7. Can anyone help ?
Many thanks
Toby
PS would NdisGetCurrentSystemTime be suitable and if so is there a easy
method of calling it via winpcap ?
==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================