Skip to content

Commit

Permalink
chore: set the default watchdog timeout to 2000 cycles.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xusine committed Sep 28, 2024
1 parent 1d4aef7 commit 27a1445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/flexus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 27a1445

Please sign in to comment.