rteval/SOURCES/rteval-Make-timerlat-the-default-for-rteval.patch

46 lines
1.5 KiB
Diff

From 23636bde2236f5d28ce8b10c7b28a880a3e9a2d9 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Wed, 18 Jun 2025 14:21:54 -0400
Subject: [PATCH 2/2] rteval: Make timerlat the default for rteval
Return timerlat to be the default measurement module for rteval
Also make the default base interval 100us to match cyclictest
Signed-off-by: John Kacur <jkacur@redhat.com>
---
rteval.conf | 4 ++--
rteval/modules/measurement/timerlat.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/rteval.conf b/rteval.conf
index 601410b51c28..46a9b1743716 100644
--- a/rteval.conf
+++ b/rteval.conf
@@ -6,8 +6,8 @@ duration: 60.0
report_interval: 600
[measurement]
-cyclictest: module
-# timerlat: module
+# cyclictest: module
+timerlat: module
[loads]
kcompile: module
diff --git a/rteval/modules/measurement/timerlat.py b/rteval/modules/measurement/timerlat.py
index fe29f34bccbd..5bfc495217ea 100644
--- a/rteval/modules/measurement/timerlat.py
+++ b/rteval/modules/measurement/timerlat.py
@@ -509,7 +509,7 @@ class Timerlat(rtevalModulePrototype):
def ModuleParameters():
""" default parameters """
return {"interval": {"descr": "Base interval or period of threads in microseconds",
- "default": 1100,
+ "default": 100,
"metavar": "INTV_US"},
"priority": {"descr": "Run rtla timerlat with this priority",
"default": 95,
--
2.49.0