قالب وردپرس درنا توس
Home / IOS Development / Ios – Detects percentage time for the main thread

Ios – Detects percentage time for the main thread



I try to detect the percentage of time that the main thread is occupied, so I can log this metric when a user uses the app. Currently the closest I can find user_time from basic_info with the help of an answer here, but how can I know which thread is used and if it's the main thread? So from here, how can I tell how much of that time as a percentage of apps total running time for that session?


Source link