diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-04-07 22:56:51 +0200 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-04-07 22:56:51 +0200 |
commit | 60432242df91f96565e45188109dff3be74214d2 (patch) | |
tree | 85e0f004fddfab7538380102cdfeb1e8e2ee6820 /src/setu | |
parent | a3ba11f549f20d09c988122899638e0a8a9dcc09 (diff) | |
download | gnunet-60432242df91f96565e45188109dff3be74214d2.tar.gz gnunet-60432242df91f96565e45188109dff3be74214d2.zip |
Improved perfomance
Diffstat (limited to 'src/setu')
-rw-r--r-- | src/setu/perf_setu_api.c | 2 |
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() { | |||
418 | 418 | ||
419 | 419 | ||
420 | static void run_petf_thread(int total_runs) { | 420 | static void run_petf_thread(int total_runs) { |
421 | int core_count = get_nprocs_conf(); | 421 | int core_count = get_nprocs_conf() * 2; |
422 | pid_t child_pid, wpid; | 422 | pid_t child_pid, wpid; |
423 | int status = 0; | 423 | int status = 0; |
424 | 424 | ||