openocd: add cycle counter for trace timestamp
Added performance monitor hw-function cycle count. Also fix for single-stepping exit, some additional register exits and prevention of reboot failures. Change-Id: I74196905dc39ecc14ae78366e7e1cb70ec7092f1
This commit is contained in:
@ -21,6 +21,13 @@ struct halt_condition {
|
||||
uint32_t addr_len;
|
||||
};
|
||||
|
||||
/*
|
||||
* Read value of cycle counter (performance monitor)
|
||||
*
|
||||
* @returns Value of current cycle counter
|
||||
*/
|
||||
uint64_t oocdw_read_cycle_counter();
|
||||
|
||||
/*
|
||||
* Read register value
|
||||
* Reads the value of the register defined by \a regnum.
|
||||
@ -58,7 +65,7 @@ void oocdw_delete_halt_condition(struct halt_condition *hc);
|
||||
/*
|
||||
* Immediate target halt without sepcific target instruction
|
||||
*/
|
||||
void oocdw_halt_target();
|
||||
bool oocdw_halt_target();
|
||||
|
||||
/*
|
||||
* Target reboot
|
||||
|
||||
Reference in New Issue
Block a user