Log total HHAS retrieval time
Summary:
This diff ensures we log total hhas retrieval time no matter whether hhas handler is installed or not.
In particular this diff fixes following problems:
1) If handler is installed but does not invoke `compile` lambda (e.g. gets data from cache) retrieval duration is not logged at all;
2) This also messes up `assemble_hhas` metric. As `statefulLogTime` was not invoked the `t` hasn't been updated since original `startTime`. As a result when `statefulLogTime("assemble_hhas");` is invoked it includes `g_hhas_handler` execution time into `assemble_hhas` metric. This is wrong.
Reviewed By: ricklavoie
Differential Revision:
D16926989
fbshipit-source-id:
883e68c83aa740e04df5e3bc8a3457ca58d47c31