Files
llvm/lib/Support
Russell Gallop 12173bc1d5 Fix time-trace breaking flame graph assumptions
-ftime-trace could break flame-graph assumptions on Windows, with an
inner scope overrunning outer scopes. This was due to the way that times
were truncated. Changed this so time_points for the flame-graph are
truncated instead of durations, preserving the relative order of event
starts and ends.

I have tried to retain the extra precision for the totals, which count
thousands or millions of events.

Added assert to check this property holds in future.

Fixes PR43043

Differential Revision: https://reviews.llvm.org/D66411

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371039 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-05 09:26:04 +00:00
..
2019-04-08 12:31:12 +00:00
2019-04-27 15:33:22 +00:00
2019-08-06 15:46:45 +00:00
2009-09-06 12:26:28 +00:00
2018-07-30 19:41:25 +00:00
2019-08-15 10:05:22 +00:00
2019-04-23 14:51:27 +00:00
2019-07-09 18:10:06 +00:00