Comments (4)
What is the time precision for this source code running in Windows? I found
that it seems more than 15ms?
Original comment by [email protected]
on 14 Apr 2011 at 9:51
from ptpv2d.
When it comes to precision on my Windows portation, I did not do anything
special when it comes to time adjustment and time accuracy.
I did not have any experience in doing a Winsock application as this is the
first one I've ever done.
With that, when it came to both socket application and getting/setting time
from the operating system, I did the best I could.
So I'm not surprised that the accuracy is less than Linux as from what I
could tell, standard Windows calls for getting/setting time are not very
accurate.
If you know of a better way that time could be measured and set, I'd be open
to porting it into the code.
Alan
Original comment by [email protected]
on 16 Apr 2011 at 8:51
from ptpv2d.
Hi Alan
Thank you for your attention~ I tried to use PTPV2D on the WIndows XP. I found
some problems as following:
1) I run PTPV2D on 2 computers. After that, according to the debug message of
msgUnpackV2Header, the time is synchronized. Which API or method is expected to
use for getting the time which are synchronized?
- getTime(TimeInternal *time, Integer16 utc_offset)?
- GetSystemTimeAsFileTime?
- etc?
2) When the time is synchronized by using PTPV2D, the system clock will not be
adjusted(changed) by PTPV2D program . How can I let the program to set the
system clock in order to let the system clock are synchronized between 2
computers.
I found that the void updateClock(RunTimeOpts*,PtpClock*) in ptpd_dep.h without
called.
Original comment by [email protected]
on 18 Apr 2011 at 4:17
from ptpv2d.
MCW, comments edited in below.
If you are a member of the ptpv2d google group, please use the ptpv2d group
instead of the issues page on code.google.com.
Original comment by [email protected]
on 23 Apr 2011 at 10:55
from ptpv2d.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ptpv2d.