Task execution time jitter measurement method and system based on eBPF and medium
The invention discloses a task execution time jitter measurement method and system based on an eBPF and a medium. The method comprises the steps that instrumentation is carried out at the starting position and the ending position of a target task and at the system event position where a kernel possi...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a task execution time jitter measurement method and system based on an eBPF and a medium. The method comprises the steps that instrumentation is carried out at the starting position and the ending position of a target task and at the system event position where a kernel possibly interrupts the target task based on the eBPF; recording the starting time, the ending time and the system event information during the operation period of the target task based on a callback function inserted by instrumentation; statistics is carried out on the basis of the recorded information of the target task to generate statistical information of the running duration of the target task, and recorded system event information is reported when the target task is not ended and overtime occurs. The invention aims to realize high-efficiency, low-overhead and accurate task execution time jitter measurement, so that the execution time of the target task and the reason of jitter interference can be observed in real |
---|