Questions tagged [clock-synchronization]
33 questions
1
vote
1 answer
STM32F7-Is there a way to synchronize the output of two different timers in output compare mode?
My processor is an STM32F746ZGT6 and I wish to use TCD132DG, so I need to generate two synchronous clock pulses with different frequencies (One of them is 2 MHz and the other one is 500 KHz) so I used two different timers in output compare mode. The…

Amir Reza
- 13
- 4
1
vote
0 answers
Working of physical clock synchronization in distributed systems
In any introductory lecture on distributed systems, the concept of synchronization of physical clocks are discussed before moving onto logical clocks.
Many protocols are discussed under this topic like Christian's algorithm, Berkeley algorithm, NTP…

AvinashK
- 3,309
- 8
- 43
- 94
1
vote
1 answer
pointers concept in SONET technologies
I am a newbie learning SONET technologies.I have read about SONET ,got a basic idea regarding synchronization,frame format,layers ,standards etc .I am finding hard to understand the concepts of pointers in SONET. Googled many things ,but not have a…

sudeep
- 81
- 7
1
vote
1 answer
How to set a machines clock using time stamps and round trip time
A machine synchronizing with a single time server records the timestamps and round trip times from it. How would you know from the timestamps and round trip times which of the times you should use to set the clock? What time should the machine set…

Quinn
- 89
- 2
- 10
1
vote
0 answers
Synch Clocks Between Android Devices on Same WLAN
1) It seems like there is already a synchronized clock (part of 802.11 specification) called a "local TSF timer". Is there any way to access it?
Android's ScanResult includes a timestamp described as "Time Synchronization Function (tsf) timestamp…

GroovyDotCom
- 1,304
- 2
- 15
- 29
1
vote
1 answer
How to synchronize time between two different process?
I want to send some frames between two process running inside two different linux machine.
I want to know how many frames received per second. So from process1 on machine1, I time stamped the frame and then process2 on machine2 receives it. It will…

ratzip
- 113
- 2
- 11
1
vote
1 answer
Task-execution-ETA in AppEngine Push Queues given lack of server clock synchronization
AppEngine Push Queues allow Tasks to be scheduled for future execution if they are added with the TaskOptions.etaMillis(...) option. This method expects a long parameter that specifies the time when to execute the task in absolute ms, just as…

Markus A.
- 12,349
- 8
- 52
- 116
1
vote
1 answer
what is the fastest way to get server time in JavaScript from a web browser?
in fact, i wanna synchronize client-side time with server time, this solution is really good, but there are any other ideas faster? in other words, can we find a faster way to get server time in JavaScript from a web browser?

Sway Deng
- 11
- 2
0
votes
1 answer
Why does my rptr signal in vhdl move forward even tho it shouldn't?
Hi i have this block of code for a ring buffer
library ieee;
use ieee.std_logic_1164.all;
entity ring_buffer is
generic (
RAM_WIDTH : natural;
RAM_DEPTH : natural
);
port (
clk : in std_logic;
rst : in std_logic;
--…

Majora-NK
- 1
- 2
0
votes
0 answers
Synchronize the time setting of my laptop with the time shown in a website with millisecond accuracy
I have this problem that the time setting of my laptop does not match the one of a website with millisecond accuracy. Also, I do not know which server that website gets its time setting from.
Is there any way to synchronize my laptop with the time…

Geoffry
- 1
0
votes
0 answers
How to estimate the offset between two servers A and B
How to estimate the offset between two servers A and B using their timestamps from messages sent between them and the time they were sent/recieved?

Quinn
- 89
- 2
- 10
0
votes
2 answers
how to get the date and time in from PC2 to PC1?
Hello I'm having trouble how can I overcome this problem I search some articles but some examples provided is in PHP. As my title above how can I get the Date and Time from the PC2(Server side where I publish my project) (example of date and time is…

jE ccA
- 21
- 1
- 10
0
votes
1 answer
Physical Clocks: Correctness vs. Accuracy
In the context of studying for a class on distributed systems I stumbled upon the following definitions that I do not understand:
Let C(t) be a perfect clock.
A clock Ci(t) is called correct at time t if Ci(t) = C(t).
A clock Ci(t) is called…

typeduke
- 6,494
- 6
- 25
- 34
0
votes
2 answers
Time change notification (hours and minutes) in objc
Is there a best practice to obtain a notification when the time changes?
I'm using a NSTimer that checks every 0,002 secs if the time is changed (hours and minutes, not seconds and milliseconds) to maintain in sync a label in my app with the phone…

Giorgio Dalvit
- 84
- 5
0
votes
1 answer
How do I test my implementation of time syncing algorithm between systems?
I have implemented a simple time syncing algorithm by calculating the offset from the master server. There is some lag in processing the code itself which would add up to timestamp. So I was wondering how will I test my algorithm is actually syncing…

Rahul
- 11,129
- 17
- 63
- 76