]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/hexagon: Add representation to count cycles
authorBrian Cain <brian.cain@oss.qualcomm.com>
Mon, 22 Jun 2026 22:28:19 +0000 (15:28 -0700)
committerBrian Cain <brian.cain@oss.qualcomm.com>
Mon, 29 Jun 2026 13:02:59 +0000 (06:02 -0700)
Add t_cycle_count to CPUArchState for tracking processor
cycle counts in system emulation.

Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
target/hexagon/cpu.h

index 4bea953ac7388343601c929ec3a7b8eb8dcc6109..2540458b370bce7b0a139bf6c9d2d3b5ca79447a 100644 (file)
@@ -110,6 +110,7 @@ typedef struct CPUArchState {
 
     /* This alias of CPUState.cpu_index is used by imported sources: */
     uint32_t threadId;
+    uint64_t t_cycle_count;
 #endif
     target_ulong new_value_usr;