You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found in Python Pandas that the function panda.rr_get_guest_instr_count() can get the number of instructions currently executed, and I also found in rr_log.h that the total number of instructions in the current replay file can be obtained through rr_nondet_log->last_prog_point.guest_instr_count. So how can I get this value in Python?
The text was updated successfully, but these errors were encountered:
That's not currently something that's exposed to python.
There's a few ways to get at that value. The easiest of which would likely be adding a PANDA API function in the same way that panda.rr_guest_get_instr_count has:
I found in Python Pandas that the function
panda.rr_get_guest_instr_count()
can get the number of instructions currently executed, and I also found inrr_log.h
that the total number of instructions in the current replay file can be obtained throughrr_nondet_log->last_prog_point.guest_instr_count
. So how can I get this value in Python?The text was updated successfully, but these errors were encountered: