Skip to content

Commit

Permalink
core_profile_session_tap: bugfix: get_time_config for ios15
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Sep 5, 2021
1 parent 1274621 commit 5d55806
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,10 @@ def parse_stackshot(data):

@staticmethod
def get_time_config(dvt):
mach_absolute_time, numer, denom, _ = DeviceInfo(dvt).mach_time_info()
time_info = DeviceInfo(dvt).mach_time_info()
mach_absolute_time = time_info[0]
numer = time_info[1]
denom = time_info[2]
usecs_since_epoch = dvt.lockdown.get_value(key='TimeIntervalSince1970') * 1000000
return dict(
numer=numer, denom=denom, mach_absolute_time=mach_absolute_time, usecs_since_epoch=usecs_since_epoch,
Expand Down

0 comments on commit 5d55806

Please sign in to comment.