摘要 |
The present invention relates to executing user codes in a multi architecture environment, in particular determining an optimized architecture for executing code in a multi architecture environment. The method involves selecting at least one section (2, 3) from a user code (1) and then generating a compiled file (7) of the user code (1) having executable codes (8, 9, 10) of the section (2, 3) for a plurality of architectures (12, 13, 14) at compile time. The method further estimates a cost information for the execution of the executable codes (8, 9, 10) for the plurality of architectures (12, 13, 14). Then at run time a load information is determined for the architectures using a monitoring module (11). Finally an optimized architecture and the respective executable code for executing the section is determined using the cost information for the executable codes (8, 9, 10) and the load information for the architectures (12, 13, 14). |