Skip to content

Commit

Permalink
extend instrumentation interface
Browse files Browse the repository at this point in the history
  • Loading branch information
eyck committed Apr 26, 2022
1 parent fa9c69f commit 797fe6f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion incl/iss/instrumentation_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,15 @@ struct instrumentation_if {
/**
* Retrieve the current value of the program counter of the next instruction
*
* @return the value of the next PC
* @return the binary value of the current instruction
*/
virtual uint64_t get_instr_count() = 0;
/**
* Retrieve the pending traps of the ISS if there are any
*
* @return the pending traps
*/
virtual uint64_t get_pendig_traps() = 0;
/**
* Retrieve the current value of the program counter of the next instruction
*
Expand Down

0 comments on commit 797fe6f

Please sign in to comment.