r266213 - [OrderFiles] Don't allow lit to run dtrace multithreaded
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 13 10:12:57 PDT 2016
Author: cbieneman
Date: Wed Apr 13 12:12:56 2016
New Revision: 266213
URL: http://llvm.org/viewvc/llvm-project?rev=266213&view=rev
Log:
[OrderFiles] Don't allow lit to run dtrace multithreaded
Dtrace is implemented to try and minimize performance impact on the process being traced. This results in dtrace dropping samples if it is taking too many CPU resources. Multi-threading dtrace increases the sample drop rate dramatically.
Modified:
cfe/trunk/utils/perf-training/CMakeLists.txt
Modified: cfe/trunk/utils/perf-training/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/perf-training/CMakeLists.txt?rev=266213&r1=266212&r2=266213&view=diff
==============================================================================
--- cfe/trunk/utils/perf-training/CMakeLists.txt (original)
+++ cfe/trunk/utils/perf-training/CMakeLists.txt Wed Apr 13 12:12:56 2016
@@ -48,6 +48,7 @@ if(DTRACE)
add_lit_testsuite(generate-dtrace-logs "Generating clang dtrace data"
${CMAKE_CURRENT_BINARY_DIR}/order-files/
+ ARGS -j 1
DEPENDS clang clear-dtrace-logs
)
More information about the cfe-commits
mailing list