NoClockServo

Package: inet.clock.servo

NoClockServo

compound module

No-op clock servo.

Summary


Implements ~IClockServo but intentionally performs no adjustments to the controlled clock. Useful as a baseline, for A/B comparisons, or to disable disciplining while keeping the servo plumbing and measurements intact.

Semantics


  • Ignores all offset/rate measurements.
  • Never steps or slews the clock; the clock remains free-running.
  • Preserves all ~IClock(1,2) invariants trivially (no changes are applied).

Parameters


  • clockModule (inherited from ~ClockServoBase): path to the clock to be (not) disciplined.

<b>See also:</b> ~ClockServoBase, ~IClockServo, ~IClock

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
ClockServoBase compound module

Base module for clock servos.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

clockModule string

Path to the controlled clock module (IClock(1,2))

Properties

Name Value Description
class NoClockServo
display i=block/control

Source code

//
// No-op clock servo.
//
// Summary
// -------
// Implements ~IClockServo but intentionally performs no adjustments to the
// controlled clock. Useful as a baseline, for A/B comparisons, or to disable
// disciplining while keeping the servo plumbing and measurements intact.
//
// Semantics
// ---------
// - Ignores all offset/rate measurements.
// - Never steps or slews the clock; the clock remains free-running.
// - Preserves all ~IClock invariants trivially (no changes are applied).
//
// Parameters
// ----------
// - clockModule (inherited from ~ClockServoBase): path to the clock to be (not) disciplined.
//
// @see ~inet.clock.base.ClockServoBase, ~inet.clock.contract.IClockServo, ~inet.clock.contract.IClock
//
module NoClockServo extends ClockServoBase like IClockServo
{
    parameters:
        @class(NoClockServo);
}
File: src/inet/clock/servo/NoClockServo.ned