Integrate "ServiceProfiler" into the base "Future"

Authored by epriestley on Feb 27 2020, 2:42 PM.


Integrate "ServiceProfiler" into the base "Future"

Depends on D21036. Ref T11968. Ref T13177. Currently, each Future integrates separately with ServiceProfiler, but much of the code is similar.

Move integration to the base class and lift up most of the implementation details.

Test Plan: Ran arc diff --trace, saw sensible output.

Maniphest Tasks: T13177, T11968

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