From 63337efdd756b996f3e9db3d193c0f3002777871 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 28 May 2024 15:34:17 +0200 Subject: [PATCH] test_rtt: Add missing cooldown phase in runtime estimation Signed-off-by: Steffen Vogel --- lib/nodes/test_rtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nodes/test_rtt.cpp b/lib/nodes/test_rtt.cpp index f7a31c7b7..378706f81 100644 --- a/lib/nodes/test_rtt.cpp +++ b/lib/nodes/test_rtt.cpp @@ -85,7 +85,7 @@ json_t *TestRTT::Case::getMetadata() { } double TestRTT::Case::getEstimatedDuration() const { - return (count_warmup + count) / rate; + return (count_warmup + count) / rate + cooldown; } int TestRTT::prepare() {