Skip to content

Should recordInterval live in CoreMetrics? #92

@ktoso

Description

@ktoso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions