Feature #2037

Feature #44: Implement basic introspection support

Estimate clock offset and commucation latency of remote hosts and proceses

Added by J. Moringen over 9 years ago. Updated over 9 years ago.

Status:ResolvedStart date:10/01/2014
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Introspection
Target version:rsb-0.11

Description

NTP-like algorithm can be used.

Associated revisions

Revision 0a411c62
Added by J. Moringen over 9 years ago

Added timing-tracker in src/introspection/timing-tracking.lisp

fixes #2037, refs #1744

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

Also available in: Atom PDF