On simon creation a timeline attribute is added (for Stopwatches only).

@param simon created simon
436303
@Override
	public void onSimonCreated(Simon simon) {
		if (simon instanceof Stopwatch) {
			simon.setAttribute(timelineAttributeName, new StopwatchTimeline(timelineCapacity, timeRangeWidth));
		}
	}
174364
private void startAppendTimer() {
    // Set a timer that will be used to periodically synchronize with other nodes
    // in the cluster. This timer acts as a heartbeat to ensure this node remains
    // the leader.
    LOGGER.trace("{} - Starting append timer", context.getCluster().member().address());
    appendTimer = context.getThreadContext().schedule(Duration.ZERO, context.getHeartbeatInterval(), this::appendMembers);
  }
1033920
private void createTimeout(IAbstractAsyncFuture future, long delay, boolean isRead) {
        if (AsyncProperties.disableTimeouts) {
            return;
        }
        // create the timeout time, while not holding the lock
        long timeoutTime =
                        (System.currentTimeMillis() + delay + Timer.timeoutRoundup)
                                        & Timer.timeoutResolution;

        synchronized (future.getCompletedSemaphore()) {
            // make sure it didn't complete while we were getting here
            if (!future.isCompleted()) {
                timer.createTimeoutRequest(timeoutTime, this.callback, future);
            }
        }
    }
397150
public static IStopWatch create() {
        if (factory == null) {
            throw new IllegalStateException("No stopwatch factory registered.");
        }
        
        try {
            return factory.clazz.newInstance();
        } catch (Exception e) {
            throw new RuntimeException("Could not create stopwatch instance.", e);
        }
    }
433535
void addAutomaticTimer(AutomaticTimer timer)
    {
        timer.ivMethod = this;
        ivAutomaticTimers.add(timer);

        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "added automatic timer: " + timer);
    }
557613
def setcreated(self, dt=None):
        
        if dt is None:
            self.created = Token.utc()
        else:
            self.created = dt
558947
@Override
	protected Buckets createBuckets(Stopwatch stopwatch) {
		return createBuckets(stopwatch, min * SimonClock.NANOS_IN_MILLIS, max * SimonClock.NANOS_IN_MILLIS, bucketNb);
	}
887059
private org.javasimon.jmx.StopwatchSample sampleStopwatch(Simon s) {
		return new StopwatchSample((org.javasimon.StopwatchSample) s.sample());
	}
1027079
def draw_timeline(self):
        """"""
        # Configure the canvas
        self.clear_timeline()
        self.create_scroll_region()
        self._timeline.config(width=self.pixel_width)
        self._canvas_scroll.config(width=self._width, height=self._height)
        # Generate the Y-coordinates for each of the rows and create the lines indicating the rows
        self.draw_separators()
        # Create the markers on the timeline
        self.draw_markers()
        # Create the ticks in the _canvas_ticks
        self.draw_ticks()
        self.draw_time_marker()
1158752
public static void main(String[] args) {
		SimonUtils.doWithStopwatch("stopwatch", new Runnable() {
			@Override
			public void run() {
				Counter counter = SimonManager.getCounter("counter");
				counter.setNote("Just a poor counter");
				System.out.println("Let's count too: " + counter);
				counter.increase();
				System.out.println("After increase: " + counter);
				counter.decrease(5);
				System.out.println("After decrease 5: " + counter);
				counter.set(7);
				System.out.println("After set 7: " + counter);
				System.out.println("\nSample from the counter: " + counter.sample());
			}
		});

		// here you don't need specific stopwatch interface, so we may use getSimon instead of getStopwatch
		// mind though that getSimon will NOT create non-existent Simons, but returns null instead
		System.out.println("\nHello universe, here is your stopwatch: " + SimonManager.getSimon("stopwatch"));
		System.out.println("\nAnd here is its sample: " + SimonManager.getSimon("stopwatch").sample());

		SimonManager.getSimon("stopwatch").setNote("stopwatch wants some note too! ...after all to have a note is the basic right of any Simon!");
		System.out.println("\nStopwatch with note: " + SimonManager.getSimon("stopwatch"));
	}
1315518
function(time) {
			var t = this;
			var children = this.factory.$el.find('ul');
			var offset = 0;

			time = time ? time : this.factory.time.getDayCounter(this.showSeconds);

			if(time.length > children.length) {
				$.each(time, function(i, digit) {
					t.createList(digit);
				});
			}

			if(this.showSeconds) {
				$(this.createDivider('Seconds')).insertBefore(this.lists[this.lists.length - 2].$el);
			}
			else
			{
				offset = 2;
			}

			$(this.createDivider('Minutes')).insertBefore(this.lists[this.lists.length - 4 + offset].$el);
			$(this.createDivider('Hours')).insertBefore(this.lists[this.lists.length - 6 + offset].$el);
			$(this.createDivider('Days', true)).insertBefore(this.lists[0].$el);

			this.base();
		}
255676
public void setCreatedDate(Date createdDate) {
        _createdDate = createdDate == null ? null : new Date(createdDate.getTime());
    }
743228
public void addTimeSection(final TimeSection SECTION) {
        if (null == SECTION) return;
        getTimeSections().add(SECTION);
        getTimeSections().sort(new TimeSectionComparator());
        fireTileEvent(SECTION_EVENT);
    }
1029690
public void setCreationTime(long ct) {
        if (com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, methodNames[SET_CREATION_TIME], "creationTime= " + ct);
        }
        _creationTime = ct;
    }
1088484
public synchronized void add(StopWatch sw)
    {
        double timeInMs = sw.getTimeMicros() / MICROS_IN_MILLIS;
        // let fake the array
        for ( int i=0; i < sw.getCount() ; i++ )
            m_times.add(timeInMs / sw.getCount());
        if( timeInMs < m_min ) m_min = timeInMs;
        if( timeInMs > m_max ) m_max = timeInMs;
    }
725100
public void start(String name) {
        stopLastTimeInstrument();
        StopWatch childSW = new StopWatch(name);
        childTimeInstrumentList.add(childSW);
    }
630704
private void init(final ZonedDateTime TIME) {
        time                    = new ObjectPropertyBase<ZonedDateTime>(TIME) {
            @Override protected void invalidated() {
                if (!isRunning() && isAnimated()) {
                    long animationDuration = getAnimationDuration();
                    timeline.stop();
                    final KeyValue KEY_VALUE = new KeyValue(currentTime, TIME.toEpochSecond());
                    final KeyFrame KEY_FRAME = new KeyFrame(javafx.util.Duration.millis(animationDuration), KEY_VALUE);
                    timeline.getKeyFrames().setAll(KEY_FRAME);
                    timeline.setOnFinished(e -> fireUpdateEvent(FINISHED_EVENT));
                    timeline.play();
                } else {
                    currentTime.set(TIME.toEpochSecond());
                    fireUpdateEvent(FINISHED_EVENT);
                }
            }
            @Override public Object getBean() { return Clock.this; }
            @Override public String getName() { return "time"; }
        };
        currentTime             = new LongPropertyBase(time.get().toEpochSecond()) {
            @Override protected void invalidated() {}
            @Override public Object getBean() { return Clock.this; }
            @Override public String getName() { return "currentTime"; }
        };
        zoneId                  = time.get().getZone();
        timeline                = new Timeline();
        timeline.setOnFinished(e -> fireUpdateEvent(FINISHED_EVENT));
        updateInterval          = LONG_INTERVAL;
        _checkSectionsForValue  = false;
        _checkAreasForValue     = false;
        sections                = FXCollections.observableArrayList();
        _secondsVisible         = false;
        _highlightSections      = false;
        areas                   = FXCollections.observableArrayList();
        _areasVisible           = false;
        _highlightAreas         = false;
        _text                   = "";
        _discreteSeconds        = true;
        _discreteMinutes        = true;
        _discreteHours          = false;
        _secondsVisible         = false;
        _titleVisible           = false;
        _textVisible            = false;
        _dateVisible            = false;
        _dayVisible             = false;
        _nightMode              = false;
        _running                = false;
        _autoNightMode          = false;
        _backgroundPaint        = Color.TRANSPARENT;
        _borderPaint            = Color.TRANSPARENT;
        _borderWidth            = 1;
        _foregroundPaint        = Color.TRANSPARENT;
        _titleColor             = DARK_COLOR;
        _textColor              = DARK_COLOR;
        _dateColor              = DARK_COLOR;
        _hourTickMarkColor      = DARK_COLOR;
        _minuteTickMarkColor    = DARK_COLOR;
        _tickLabelColor         = DARK_COLOR;
        _alarmColor             = DARK_COLOR;
        _hourTickMarksVisible   = true;
        _minuteTickMarksVisible = true;
        _tickLabelsVisible      = true;
        _hourColor              = DARK_COLOR;
        _minuteColor            = DARK_COLOR;
        _secondColor            = DARK_COLOR;
        _knobColor              = DARK_COLOR;
        _lcdDesign              = LcdDesign.STANDARD;
        _alarmsEnabled          = false;
        _alarmsVisible          = false;
        alarms                  = FXCollections.observableArrayList();
        alarmsToRemove          = new ArrayList<>();
        _lcdCrystalEnabled      = false;
        _shadowsEnabled         = false;
        _lcdFont                = LcdFont.DIGITAL_BOLD;
        _locale                 = Locale.US;
        _tickLabelLocation      = TickLabelLocation.INSIDE;
        _animated               = false;
        animationDuration       = 10000;
        _customFontEnabled      = false;
        _customFont             = Fonts.robotoRegular(12);
    }