Skip to content

Commit

Permalink
chore: increase watchdog timeout (#65)
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 authored Sep 30, 2024
1 parent f5f417a commit b526e40
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 b526e40

Please sign in to comment.