Feature #2037
Feature #44: Implement basic introspection support
Estimate clock offset and commucation latency of remote hosts and proceses
Status: | Resolved | Start date: | 10/01/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Introspection | |||
Target version: | rsb-0.11 |
Description
NTP-like algorithm can be used.
Associated revisions
Added timing-tracker in src/introspection/timing-tracking.lisp
The `timing-tracker' class applies the basic NTP algorithm to estimate
clock offsets of remote hosts as well as communication latencies of
remote hosts and processes.
- src/introspection/protocol.lisp (timing-tracker-clock-offset): new
generic function; return estimated clock offset
(timing-tracker-latency): new generic function; return estimated
communication latency
(timing-tracker-to-local-clock): new generic function; transform
timestamp from remote clock to local clock - src/introspection/timing-tracking.lisp: new file; contains
`tracked-quantity' and `timing-tracker' classes - test/introspection/timing-tracking.lisp: new file; contains unit tests
for the `timing-tracker' class - rsb-introspection.asd (system rsb-introspection): added file
src/introspection/timing-tracking.lisp
(system rsb-introspection-test): added file
test/introspection/timing-tracking.lisp
History
#1 Updated by J. Moringen over 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Applied in changeset rsb-cl|0a411c62f3c0f2b2c3cfe51eb3d47d7282f7a78e.