Add hooks to capture bootstrap durations in windows and linux (#2530)

These vars will be collected in CI-Metrics to help visualize **Wall Time
Component Breakdown**

---------

Co-authored-by: Florian Weikert <fwe@google.com>
Co-authored-by: Yun Peng <pcloudy@google.com>
Co-authored-by: Lily Gorsheneva <bgorshenev@google.com>
2 files changed