diff options
| author | Min-Yih Hsu <minyihh@uci.edu> | 2021-06-04 00:32:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-04 09:32:37 +0200 |
| commit | 83e0a49ba4938fb90b27c01ce9adc3dbe2984164 (patch) | |
| tree | 92a7463ec5c24c5edacafbf1f46517c38f6b913f /src/ThreadPool.zig | |
| parent | 9c08a33b2226239b8e0cf08ebcef17d710a54d8a (diff) | |
| download | zig-83e0a49ba4938fb90b27c01ce9adc3dbe2984164.tar.gz zig-83e0a49ba4938fb90b27c01ce9adc3dbe2984164.zip | |
llvm: Add support for collecting time trace (#8546)
LLVM time profiler can collect time traces and present them in a
hierarchical view. Which breakdowns the time spent in each Pass or even
IR unit. The result is also exported into a format that can be easily
visualized by the Chrome browser.
Currently this features is controlled by the following environment
variables:
- `ZIG_LLVM_TIME_TRACE_FILE` toggles this feature and specifies the
output time trace file.
- `ZIG_LLVM_TIME_TRACE_GRANULARITY` controls the time granularity in
ms (default to 500).
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions
