Commit 4bfff7a5 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

rts: Don't default to single capability when profiled

This was presumably a vestige of the days when the profiled RTS couldn't
run threaded. Fixes #14545.

Test Plan: simonmar

Reviewers: erikd, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14545

Differential Revision:
parent 21cdfe5f
......@@ -1289,11 +1289,7 @@ error = true;
if (rts_argv[arg][2] == '\0') {
#if defined(PROFILING)
RtsFlags.ParFlags.nCapabilities = 1;
RtsFlags.ParFlags.nCapabilities = getNumberOfProcessors();
} else {
int nCapabilities;
OPTION_SAFE; /* but see extra checks below... */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment