llvm-mirror/include
Russell Gallop 93865dcd72 [Support] Extend TimeProfiler to support multiple threads
This makes TimeTraceProfilerInstance thread local. Added
timeTraceProfilerFinishThread() which moves the thread local instance to
a global vector of instances. timeTraceProfilerWrite() then writes
recorded data from all instances.

Threads are identified based on their thread ids. Totals are reported
with artificial thread ids higher than the real ones.

Replaced raw pointer for TimeTraceProfilerInstance with unique_ptr.

Differential Revision: https://reviews.llvm.org/D71059
2019-12-12 12:01:44 +00:00
..
llvm [Support] Extend TimeProfiler to support multiple threads 2019-12-12 12:01:44 +00:00
llvm-c Recommit "[DWARF5]Addition of alignment atrribute in typedef DIE." 2019-12-03 09:51:43 +05:30