[profiler] Normalize time fields in the format.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 30 Aug 2016 06:32:50 +0000 (08:32 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 30 Aug 2016 08:01:05 +0000 (10:01 +0200)
commit7240d72222c772faf8bea1b88e6acbabe27ab255
treea976191a1e4518a327b8f4c79b72e4d2d9be8c9a
parent41dc6f631c801a0ef0fcb54c216598b9e2488b9b
[profiler] Normalize time fields in the format.

All events now come with a time field right after the event byte, and it is
encoded in the same way for all events (based on LogBuffer.time_base).

This allows readers to queue up events until a sync point event, then sort all
of those events by time, and process them in the order they were actually
written in.
mono/profiler/decode.c
mono/profiler/proflog.c
mono/profiler/proflog.h