Source

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

Diff from to

File metrics-clojure-core/src/metrics/meters.clj

                     event-type
                     TimeUnit/SECONDS))
 
+(defmacro defmeter [title event-type]
+  `(def ~title (meter ~(str title) ~event-type)))
+
 
 ; Read ------------------------------------------------------------------------
 (defn rates [^Meter m]