DirectXShaderCompiler/include
Cooper Partin 3704efb2bc
Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381)
This commit adds a new optional -ftime-trace-granularity option that is
already implemented in llvm-project. This change is a surgical port of
an existing feature from the upstream llvm-project repo into the DXC
codebase.

The following commits in the llvm-project repo were copied and followed
for this change. Clean cherry picks were not possible due to the
differences in repos like change of file locations and other dependant
changes made in the repo.

*** Adds the granularity configuration setting ***
'Time profiler: small fixes and optimizations'
Commit: 26536728591d5fdac373ef535ae122b873f73292

*** Wires up the commandline option -ftime-trace-granularity to the
TraceProfiler code ***
'[Support] Fix -ftime-trace-granularity option'
Commit: 4fdcabf259c4ab94654e6cd5d95d0e0313159c70

Fixes #6372

---------

Signed-off-by: Cooper Partin <coopp@ntdev.microsoft.com>
Co-authored-by: Cooper Partin <coopp@ntdev.microsoft.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 09:02:15 -08:00
..
dxc Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381) 2024-03-05 09:02:15 -08:00
llvm Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381) 2024-03-05 09:02:15 -08:00
llvm-c Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
miniz [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00