diff options
| author | exdal <63502313+exdal@users.noreply.github.com> | 2024-05-25 06:07:51 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-24 20:07:51 -0700 |
| commit | 4f1cbf6f4d561320b8e3c73b871cc95dd13c6207 (patch) | |
| tree | 13b95fd297a6784aa7b19b6af2dee0da3a12cf7e /source/core/slang-performance-profiler.cpp | |
| parent | 45cc7a18a55a25114932a8e531a25c5d3780414c (diff) | |
Fix clang-18 build (#4222)
* Update slang-performance-profiler.cpp
* modified: source/core/slang-performance-profiler.cpp
* reviews
---------
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'source/core/slang-performance-profiler.cpp')
| -rw-r--r-- | source/core/slang-performance-profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-performance-profiler.cpp b/source/core/slang-performance-profiler.cpp index 5b62cbf73..7ca33f615 100644 --- a/source/core/slang-performance-profiler.cpp +++ b/source/core/slang-performance-profiler.cpp @@ -39,7 +39,7 @@ namespace Slang for (auto func : data) { out << func.key << ": \t"; - out << func.value.invocationCount << "\t" << func.value.duration.count()/1000000 << "\n"; + out << func.value.invocationCount << "\t" << func.value.duration.count() / 1000000.0f << "\n"; } } }; |
