[tracing][tspec] Add support for DurationComplete event in measure
TRACE_DURATION events will use a single kDurationComplete event instead
of being translated into a Begin and End events. This has major space
saving benefits.
This CL adds the support for it in measure.
Once this CL lands, I will reland
https://fuchsia-review.googlesource.com/c/zircon/+/236859
TEST: CQ, also by testing benchmark_example with the TRACE_DURATION
change.
PT-72 # Add support in measure [tspec]
Change-Id: I04b48d36dd8713e6a55b3cd8ae2ab5782b2b9514
7 files changed