[PATCH v8] target/hexagon: Add representation to count cycles

Brian Cain posted 1 patch 1 month, 2 weeks ago
Failed in applying to current master (apply log)
target/hexagon/cpu.h | 1 +
1 file changed, 1 insertion(+)
[PATCH v8] target/hexagon: Add representation to count cycles
Posted by Brian Cain 1 month, 2 weeks ago
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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
index 4bea953ac73..2540458b370 100644
--- a/target/hexagon/cpu.h
+++ b/target/hexagon/cpu.h
@@ -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;
 
-- 
2.34.1