summaryrefslogtreecommitdiffstats
path: root/source/core/slang-performance-profiler.cpp
diff options
context:
space:
mode:
authorexdal <63502313+exdal@users.noreply.github.com>2024-05-25 06:07:51 +0300
committerGitHub <noreply@github.com>2024-05-24 20:07:51 -0700
commit4f1cbf6f4d561320b8e3c73b871cc95dd13c6207 (patch)
tree13b95fd297a6784aa7b19b6af2dee0da3a12cf7e /source/core/slang-performance-profiler.cpp
parent45cc7a18a55a25114932a8e531a25c5d3780414c (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.cpp2
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";
}
}
};