1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

test_rtt: Add missing cooldown phase in runtime estimation

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2024-05-28 15:34:17 +02:00 committed by pipeacosta
parent 3c7fca7ce6
commit 937242ca84

View file

@ -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() {