common code: Add processing interval option to decrese CPU usage

This commit is contained in:
Andreas Eversberg committed 2016-06-18 19:33:08 +02:00
1 parent e10898c1e8
commit 4d52f955b3
7 files changed
+25 -10

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Error setting SCHED_RR with prio %d\n", rt_prio);
}
main_loop(&quit, latency);
main_loop(&quit, latency, interval);
if (rt_prio > 0) {
struct sched_param schedp;