HomePhabricator

Use phutil_microseconds_since(...) to simplify some timing arithmetic

Description

Use phutil_microseconds_since(...) to simplify some timing arithmetic

Summary: Depends on D19796. Simplify some timing code by using phutil_microseconds_since() instead of duplicate casting and arithmetic.

Test Plan: Grepped for 1000000 to find these. Pulled, pushed, made a conduit call. This isn't exhaustive but it should be hard for these to break in a bad way since they're all just diagnostic.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19797

Details

Provenance
epriestleyAuthored on Nov 8 2018, 3:30 PM
epriestleyPushed on Nov 9 2018, 12:46 AM
Reviewer
amckinley
Differential Revision
D19797: Use phutil_microseconds_since(...) to simplify some timing arithmetic
Parents
rPb12e92e6e2dd: Add timing information for commit hooks to push logs
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21123
Build 28717: Run Core Tests