YueChen-C / py-ios-device

IOS Professional Performance Testing Tool . You can get CPU, GPU, Memory , Lifecycle and other metrics from real iOS devices . IOS 专业性能测试工具
GNU General Public License v3.0
634 stars 179 forks source link

iOS11 start_get_fps callback 拿不到帧率 #43

Open zkj3e opened 2 years ago

zkj3e commented 2 years ago

没有code == 830472984的情况

{'BasebandCertId': 3554301762, 'BasebandKeyHashInformation': {'AKeyStatus': 2, 'SKeyHash': b'\xec\xc4\x04S+\xf3\x1b\x88#\x8d\x97;*\xc3M\x01T\xd2\xf2\x0e', 'SKeyStatus': 0}, 'BasebandSerialNumber': b'+\x05\x01\xe8', 'BasebandVersion': '8.55.00', 'BoardId': 0, 'BuildVersion': '15F79', 'ChipID': 35168, 'DeviceClass': 'iPhone', 'DeviceColor': '#e1e4e3', 'DeviceName': '晓芬的iPhone5S', 'DieID': 510290786788, 'HardwareModel': 'N51AP', 'HasSiDP': True, 'PartitionType': 'GUID_partition_scheme', 'ProductName': 'iPhone OS', 'ProductType': 'iPhone6,1', 'ProductVersion': '11.4', 'ProductionSOC': True, 'ProtocolVersion': '2', 'TelephonyCapability': True, 'UniqueChipID': 510290786788, 'UniqueDeviceID': '23681c8c33ef1adaf0eda88f7c585491eb8d4df7', 'WiFiAddress': '84:8e:0c:23:88:4b'}

YueChen-C commented 2 years ago

测试了 7p 'ProductType': 'iPhone9,2', 'ProductVersion': '11.4.1',没问题,可能是'ProductType': 'iPhone6,1' 使用的 gup 架构不一样吧,5s有点难找等我找个5s 'ProductType': 'iPhone6,1' 测测

zkj3e commented 2 years ago

code == 830472984 kdebug 里面class=DBG_IMG subclass=clock, code=198, 请教下这个198是什么含义,有对应的定义吗

fbaptista commented 2 years ago

Hello @zkj3e. Do you have any stack-trace to share? Because we found an issue on start_get_fps callback but caused by time_count_frame variable.

2021-09-23 13:13:05 [ERROR] [Instrument] dvt.py[line:249] local variable 'time_count_frame' referenced before assignment

Are you sure this is not the case?

zkj3e commented 2 years ago

Hello @zkj3e. Do you have any stack-trace to share? Because we found an issue on start_get_fps callback but caused by time_count_frame variable.

2021-09-23 13:13:05 [ERROR] [Instrument] dvt.py[line:249] local variable 'time_count_frame' referenced before assignment

Are you sure this is not the case?

never appeared this case

HackHarry commented 2 years ago

请问一下,这个830472984事件是从哪确定的呀?Instruments的Display里的事件好像不是这个

zkj3e commented 2 years ago

请问一下,这个830472984事件是从哪确定的呀?Instruments的Display里的事件好像不是这个

请问Instruments的Display里的事件是哪一个 怎么看的