Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Ping: Capture and use kernel timestamp for latency computation. #546

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

manugarg
Copy link
Contributor

@manugarg manugarg commented Jan 4, 2021

Use SO_TIMESTAMP socket option (supported only on Unix systems) to capture kernel timestamp for incoming packets. This will make ping probe's latency measurement much more accurate.

Impact of this on intra-region latency measurement:
http://screen/wuOqxDmE4tT

Reference:
#531
#540

I tested this change on MacOS and Linux. Logic is not changing for Windows.

PiperOrigin-RevId: 350035725

Use SO_TIMESTAMP socket option (supported only on Unix systems) to capture kernel timestamp for incoming packets. This will make ping probe's latency measurement much more accurate.

Impact of this on intra-region latency measurement:
http://screen/wuOqxDmE4tT

Reference:
#531
#540

I tested this change on MacOS and Linux. Logic is not changing for Windows.

PiperOrigin-RevId: 350035725
@manugarg manugarg merged commit e759f8c into master Jan 6, 2021
@manugarg manugarg deleted the 63729A23134379909BFCA3AC3C378B48 branch January 6, 2021 18:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant