MCPcopy Create free account
hub / github.com/facebook/time

github.com/facebook/time @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,556 symbols 13,900 edges 413 files 1,861 documented · 52% 2 cross-repo links updated 7d ago★ 6491 open issues

Browse by type

Functions 3,016 Types & classes 540
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Time

lint test codecov Go Report Card GitHub go.mod Go version GoDoc License

Contents

Documentation

Collection of Meta's Time Libraries such as NTP and PTP

cmd

All executables provided by this repo.

NTP

NTP-specific libraries, including protocol implementation.

PTP

PTP-specific libraries, including protocol implementation.

Leaphash

Utility package for computing the hash value of the official leap-second.list document

leapsectz

Utility package for obtaining leap second information from the system timezone database

PHC

Library to work with PTP Hardware Clock (PHC).

Timestamp

Library to work with NIC hardware/software timestamps.

oscillatord

Implementation of monitoring protocol used by Orolia oscillatord.

Calnex

Command line tool and library for a Calnex Sentinel device.

Caliper

Command line tool for parsing Luciol OTDR trace files when measuring system/cable latencies of Huber-Suhner GNSS-over-fiber systems

sa53

Command line tool and library for the Microchip SA53 atomic clock on Celestica time cards.

fbclock

Client C library and Go daemon to provide TrueTime API based on PTP time.

servo

Pi servo library

clock

Wrapper around CLOCK_ADJTIME syscall

NTRIP

NTRIP v1 SOURCE client library for pushing RTCM correction data to an NTRIP caster. Supports HTTP CONNECT proxy with TLS client certificate authentication.

ntripper

Command line tool that reads RTCM3 and UBX-RXM-RAWX data from an oscillatord Unix socket and pushes RTCM corrections to an NTRIP caster, generating MSM7 messages from raw observations when available.

RTCM

Parser and scanner for RTCM 10403.x (RTCM3) binary frames used for GNSS correction data. Includes CRC-24Q validation and stream synchronization.

License

time is licensed under Apache 2.0 as found in the LICENSE file.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 1,926
Method 1,090
Struct 403
TypeAlias 69
Interface 45
Class 17
FuncType 6

Languages

Go98%
C1%
C++1%

Modules by API surface

ntp/chrony/packet.go93 symbols
ptp/protocol/types.go60 symbols
calnex/api/api.go58 symbols
ptp/ptp4u/stats/stats.go51 symbols
phc/pps_mock_test.go50 symbols
ptp/protocol/protocol.go45 symbols
fbclock/fbclock.c37 symbols
ptp/linearizability/linearizability_ptp.go36 symbols
calnex/api/api_test.go36 symbols
ntp/chrony/packet_test.go35 symbols
ptp/sptp/client/stats.go34 symbols
ptp/ptp4u/server/subscription.go34 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add time \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page