I initially said in review that it should be in Metrics: #83
but maybe that was wrong; it does not depend on foundation but just dispatch hm.
|
func recordInterval(since: DispatchTime, end: DispatchTime = .now()) { |
|
self.recordNanoseconds(end.uptimeNanoseconds - since.uptimeNanoseconds) |
|
} |
FYI @tomerd @slashmo
I initially said in review that it should be in Metrics: #83
but maybe that was wrong; it does not depend on foundation but just dispatch hm.
swift-metrics/Sources/Metrics/Metrics.swift
Lines 42 to 44 in 44e8bfc
FYI @tomerd @slashmo