summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-04-15 08:22:54 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-04-15 08:22:54 +0200
commita0dd6c977d94009485698a7fecc51996c18bf628 (patch)
tree356aa0e2350f1c96ccffdee002ac08b4eeb3cf33
parent148b3fd442fd689818e5e7f29f52e34a1b2b61c5 (diff)
Prepare original perf runperf_setu_original
-rw-r--r--src/setu/perf_setu_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index 9c7b51984..00cf96b85 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() * 2;
+ int core_count = get_nprocs_conf();
pid_t child_pid, wpid;
int status = 0;
@@ -447,9 +447,9 @@ static void execute_perf() {
//FILE *out = fopen("perfstats.log", "w");
//fprintf(out, "se_diff,active_passive_switches,bytes_transmitted,rtt\n");
- for (int out_out_ctr = 1; out_out_ctr <= 10; out_out_ctr++) {
+ for (int out_out_ctr = 4; out_out_ctr <= 4; out_out_ctr++) {
- for (int out_ctr = 10; out_ctr <= 60; out_ctr++) {
+ for (int out_ctr = 1; out_ctr <= 100; out_ctr++) {
float base = 0.1;
float x = out_ctr * base;