From b526e40cb136f169881f504f1c71a365cbe04a19 Mon Sep 17 00:00:00 2001 From: Cyan Lin Date: Mon, 30 Sep 2024 12:26:12 +0200 Subject: [PATCH] chore: increase watchdog timeout (#65) The previous threshold was 1000 cycles, and it is not enough for a special case: Resync + instruction fetch causing page walks and 4 cache misses + the load instruction itself cause page walk and 5 cache misses. --- core/flexus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/flexus.cpp b/core/flexus.cpp index 72d198bf..a63525db 100644 --- a/core/flexus.cpp +++ b/core/flexus.cpp @@ -137,7 +137,7 @@ class FlexusImpl : public FlexusInterface public: FlexusImpl(Qemu::API::conf_object_t* anObject) - : cpu_watchdog_timeout(1000) + : cpu_watchdog_timeout(2000) , theInitialized(false) , theCycleCount(0) , theStatInterval(100)