diff options
| author | Julian Blake Kongslie | 2023-01-22 12:33:01 -0800 |
|---|---|---|
| committer | Julian Blake Kongslie | 2023-01-22 12:33:01 -0800 |
| commit | 008b2fa47db4d04941a2bd6d512a204d76cbfea8 (patch) | |
| tree | c5cf801dc2e8ca42bfa014b96e6bf74501253bba /uarch/core.h | |
| parent | Improved pipetrace viewer. (diff) | |
| download | biggolf-008b2fa47db4d04941a2bd6d512a204d76cbfea8.tar.xz | |
Add deadman timer (only ten cycles!) based on time between interruptable points.
Diffstat (limited to 'uarch/core.h')
| -rw-r--r-- | uarch/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uarch/core.h b/uarch/core.h index b8473e6..ebfd388 100644 --- a/uarch/core.h +++ b/uarch/core.h | |||
| @@ -78,6 +78,8 @@ struct indir_stage : public infra::sim { | |||
| 78 | struct exec_stage : public infra::sim { | 78 | struct exec_stage : public infra::sim { |
| 79 | core &c; | 79 | core &c; |
| 80 | 80 | ||
| 81 | unsigned int cycles_since_progress = 0; | ||
| 82 | |||
| 81 | unsigned int gen = 0; | 83 | unsigned int gen = 0; |
| 82 | 84 | ||
| 83 | unsigned int stores_sent = 0; | 85 | unsigned int stores_sent = 0; |
