summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-06-13 01:54:21 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-06-17 06:38:27 -0400
commit3d20be8b39ec67cbed6aa12038c45c0484c3b857 (patch)
tree61e1f9f33c83e7e4d325e2c9900b5d4abddd2b38 /gnuradio-runtime/lib
parenta29f87eacc202a6c0f782f54e335a3f02dfdb6d4 (diff)
runtime/realtime_impl: remove commented out, low-entropy debug printfs
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r--gnuradio-runtime/lib/realtime_impl.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnuradio-runtime/lib/realtime_impl.cc b/gnuradio-runtime/lib/realtime_impl.cc
index 14170690fa..1d2e8c00c4 100644
--- a/gnuradio-runtime/lib/realtime_impl.cc
+++ b/gnuradio-runtime/lib/realtime_impl.cc
@@ -79,8 +79,6 @@ rt_status_t enable_realtime_scheduling(rt_sched_param p)
// set the thread priority on the thread
if (SetThreadPriority(GetCurrentThread(), priorities[pri_index]) == 0)
return RT_OTHER_ERROR;
-
- // printf("SetPriorityClass + SetThreadPriority\n");
return RT_OK;
}
@@ -100,7 +98,7 @@ rt_status_t enable_realtime_scheduling(rt_sched_param p)
int pri = rescale_virtual_pri(p.priority, min_real_pri, max_real_pri);
// FIXME check hard and soft limits with getrlimit, and limit the value we ask for.
- // fprintf(stderr, "pthread_setschedparam: policy = %d, pri = %d\n", policy, pri);
+ // log: "pthread_setschedparam: policy = %d, pri = %d\n", policy, pri
struct sched_param param;
memset(&param, 0, sizeof(param));
@@ -120,8 +118,6 @@ rt_status_t enable_realtime_scheduling(rt_sched_param p)
return RT_OTHER_ERROR;
}
}
-
- // printf("SCHED_FIFO enabled with priority = %d\n", pri);
return RT_OK;
}
@@ -142,7 +138,7 @@ rt_status_t enable_realtime_scheduling(rt_sched_param p)
int pri = rescale_virtual_pri(p.priority, min_real_pri, max_real_pri);
// FIXME check hard and soft limits with getrlimit, and limit the value we ask for.
- // fprintf(stderr, "sched_setscheduler: policy = %d, pri = %d\n", policy, pri);
+ // log: "sched_setscheduler: policy = %d, pri = %d\n", policy, pri
int pid = 0; // this process
struct sched_param param;
@@ -161,8 +157,6 @@ rt_status_t enable_realtime_scheduling(rt_sched_param p)
return RT_OTHER_ERROR;
}
}
-
- // printf("SCHED_FIFO enabled with priority = %d\n", pri);
return RT_OK;
}