Source

metrics-clojure / metrics-clojure-core / src / metrics / timers.clj

Diff from to

metrics-clojure-core/src/metrics/timers.clj

                     TimeUnit/MILLISECONDS
                     TimeUnit/SECONDS))
 
+(defmacro deftimer [title]
+  `(def ~title (timer ~(str title))))
+
 
 ; Read ------------------------------------------------------------------------
 (defn rates [^Timer m]