docs: public void time(Runnable event) {
          long startTime = this.clock.getTick();
          try {
              event.run();
          } finally {
              update(this.clock.getTick() - startTime);
          }
      }