Compilation Optimization Method for Program Source Code and Related Product

A compilation optimization method for program source code includes: running a first executable file, and collecting a hardware cache event, where the first executable file includes an executable program and debugging information, the executable program is obtained by compiling program source code, a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huang, Xiaoquan, Le, Yongnian, Ma, Mingze
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A compilation optimization method for program source code includes: running a first executable file, and collecting a hardware cache event, where the first executable file includes an executable program and debugging information, the executable program is obtained by compiling program source code, and the debugging information includes a correspondence between the program source code and an executable instruction in the executable program; then, obtaining first configuration information based on the hardware cache event and the debugging information, where the first configuration information includes an identifier of the program source code and a quantity of cache misses corresponding to the identifier; and finally, compiling the program source code based on the first configuration information to obtain a second executable file.