summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 22:56:51 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 22:56:51 +0200
commit60432242df91f96565e45188109dff3be74214d2 (patch)
tree85e0f004fddfab7538380102cdfeb1e8e2ee6820
parenta3ba11f549f20d09c988122899638e0a8a9dcc09 (diff)
Improved perfomance
-rw-r--r--src/setu/perf_setu_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index 1deb69202..9c7b51984 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -418,7 +418,7 @@ void perf_thread() {
static void run_petf_thread(int total_runs) {
- int core_count = get_nprocs_conf();
+ int core_count = get_nprocs_conf() * 2;
pid_t child_pid, wpid;
int status = 0;