@Override
  public void inc(final long amount) {
    backedCounter.inc(amount);
    stepCounter.addAndGet(amount);
    final long now = System.currentTimeMillis();
    if (nextExecutionAtMillis < now) {
      task.run();
      nextExecutionAtMillis = now + intervalMillis;
    }
  }
Increments the stepCounter by amount. Triggers the runnable if interval has elapsed

@param amount the value to add to the stepCounter.
metrics/core/src/main/java/org/hyperledger/besu/metrics/RunnableTimedCounter.java