[atf] Add metric for hierarchy creation

Adding a metric inbetween ATF scanning process to better understand
where most times are spent.

Bug: 170136315
Test: Manually tested
Change-Id: I9c499a1e200ca9d04abba15f88daf03111c94708
3 files changed