HomePhorge

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, 7:30 AM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPb12e92e6e2dd: Add timing information for commit hooks to push logs
Branches
Unknown
Tags
Unknown

Event Timeline