Xcode 5 Debug - "Untitled" Topic in report / CPU usage

Xcode 5 reports CPU utilization, including breakdown processing for each running thread. It is good and useful to some extent.

But can we give these streams programmatically to some names so that they are easy to identify? These threads are created by the OS when several NSTimers, NSOperation, NSURLConnection, etc. are written in my application, but I cannot accurately display or identify the threads displayed in the CPU report with their corresponding operations.

As you can see in the screenshot below, most of these streams are "Untitled", which makes it difficult to identify related operations.

enter image description here

, , CPU? , .

+4
1

, : https://github.com/deszip/APThreadMarker

:

[APThreadMarker markCurrentThreadWithName:@"thread 1"];

NSOperation , NSOperation, .

+1

All Articles