lib/contrast/utils/timer.rb in contrast-agent-7.2.0 vs lib/contrast/utils/timer.rb in contrast-agent-7.3.0

- old
+ new

@@ -1,7 +1,9 @@ # Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true +require 'time' + module Contrast module Utils # Timer is class that can track state about when an event starts and how long it takes # Also contains utility methods to get time values in milliseconds class Timer