LabKey / platform

A set of modules that provide core functionality for LabKey Server
Apache License 2.0
7 stars 7 forks source link

Updates to CPUTimer #5939

Closed labkey-danield closed 3 weeks ago

labkey-danield commented 3 weeks ago

Rationale

The CPUTimer maintains an internal list of timers, this adds a method to the class that allows the caller to remove a timer from the collection. Updated the clear method to reset all the internal timing variables. This can be used if a caller wants the timer to remain but doesn't want the current information. Example: throwing away the first iteration in a run.

Related Pull Requests

Changes