Main thread waiting time determining method and device

The invention provides a main thread waiting time determination method and device, and relates to the field of computers. The method comprises the steps of obtaining all network threads in software; wherein each duration corresponding to each network thread in all the network threads comprises at le...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: QIU HUIPING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a main thread waiting time determination method and device, and relates to the field of computers. The method comprises the steps of obtaining all network threads in software; wherein each duration corresponding to each network thread in all the network threads comprises at least one critical time period and at least one non-critical time period; wherein each duration is used for representing the total execution time of each network thread; determining at least one critical time period in the duration based on the zone identifier; wherein when the network thread is in atleast one critical time period, the main thread starts to be executed after the execution of the network thread is finished; and determining the main thread waiting time of the software by utilizingthe at least one critical time period. According to the main thread waiting time determining method and device, the at least one critical time period in the duration can be determined based on the zone identifier, and the main