summaryrefslogtreecommitdiff
path: root/lib/rts.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rts.h')
-rw-r--r--lib/rts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rts.h b/lib/rts.h
index 032d48b8..b4f0d695 100644
--- a/lib/rts.h
+++ b/lib/rts.h
@@ -109,10 +109,15 @@ void trace_end(void);
* Functions for counting and limiting cycles
*/
+// increment cycle count and test if over limit
bool cycle_limit_reached(const unit);
+// increment cycle count and abort if over
unit cycle_count(const unit);
+// read cycle count
+void get_cycle_count(sail_int *rop, const unit);
+
/*
* Functions to get info from ELF files.
*/