Prem
Prem

Reputation: 4821

IPhone Crash Logs - What is the elapsed CPU time

In iPhone Crash logs, i see the following information.

Exception Type: 00000020 Exception Codes: 0x8badf00d Highlighted Thread: 0

Application Specific Information: iOSMyApp[2687] has active assertions beyond permitted time: {( identifier: Suspending process: iOSMyApp[2687] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:15 preventSuspend preventThrottleDownCPU preventThrottleDownUI )}

Elapsed total CPU time (seconds): 10.060 (user 10.060, system 0.000), 100% CPU Elapsed application CPU time (seconds): 7.785, 77% CPU

I Understand that Elapsed application CPU time includes the total CPU time utilized by the application including the waiting time for device resources.

But What is this 7.785 seconds ?

Is this the time taken to render the Screen UI ? or Is this the time taken to return from applicationDidFinishWithLaunchingOptions Method ?

I get this doubt because Application launch time till 20 seconds (approx because no fixed metric is defined by apple) is accepted by apple. But then for 7.785 seconds why did we get the crash log ?

Please help me understand this value.

Upvotes: 0

Views: 2304

Answers (1)

Prem
Prem

Reputation: 4821

The Time mentioned is the time taken to return from applicationDidFinishWithLaunchingOptions method.

Referred to these links and got this information.

App Crashes on Startup with iOS 5 - Cannot Reproduce iPhone 4 vs iPhone 5 TestFlight issue Unable to start debug IPA on iOS 6, it runs perfectly on iOS 5

Upvotes: 0

Related Questions