1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/tools/llvm-cov
Vedant Kumar 4b0b398802 [llvm-cov] Use a thread pool to speed up report generation (NFC)
It's safe to print out source coverage views using multiple threads when
using the -output-dir mode of the `llvm-cov show` sub-command.

While testing this on my development machine, I observed that the speed
up is roughly linear with the number of available cores. Avg. time for
`llvm-cov show ./llvm-as -show-line-counts-or-regions`:

    1 thread: 7.79s user 0.33s system 98% cpu 8.228 total
    4 threads: 7.82s user 0.34s system 283% cpu 2.880 total

llvm-svn: 275321
2016-07-13 21:38:36 +00:00
..
CMakeLists.txt [llvm-cov] Add support for creating html reports 2016-07-06 21:44:05 +00:00
CodeCoverage.cpp [llvm-cov] Use a thread pool to speed up report generation (NFC) 2016-07-13 21:38:36 +00:00
CoverageFilters.cpp llvm-cov: Disentangle the coverage data logic from the display (NFC) 2014-09-20 15:31:56 +00:00
CoverageFilters.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageReport.cpp [llvm-cov] Avoid copying file paths multiple times (NFC) 2016-06-28 16:12:18 +00:00
CoverageReport.h [llvm-cov] Avoid copying file paths multiple times (NFC) 2016-06-28 16:12:18 +00:00
CoverageSummaryInfo.cpp llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageSummaryInfo.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageViewOptions.h [llvm-cov] Add support for creating html reports 2016-07-06 21:44:05 +00:00
gcov.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00
llvm-cov.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
RenderingSupport.h NFC, add an "end namespace" comment for consistency 2016-06-23 16:27:08 +00:00
SourceCoverageView.cpp [llvm-cov] Add support for creating html reports 2016-07-06 21:44:05 +00:00
SourceCoverageView.h [llvm-cov] Use relative paths to file reports in -output-dir mode 2016-06-29 21:55:46 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Add support for creating html reports 2016-07-06 21:44:05 +00:00
SourceCoverageViewHTML.h [llvm-cov] Add support for creating html reports 2016-07-06 21:44:05 +00:00
SourceCoverageViewText.cpp Minor formatting change, NFC 2016-07-06 22:02:55 +00:00
SourceCoverageViewText.h [llvm-cov] Minor cleanups to prepare for the html format patch 2016-06-29 00:38:21 +00:00
TestingSupport.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00