Patent Document ID: 9569179
Application ID: 14559551
Patent Flag: 1

Claim One:
1. A method, comprising: determining, based on profiling information for code generated from a first model that has a plurality of parts, that a first performance value of a performance metric, associated with executing the code generated from the first model, does not satisfy a performance criterion for the performance metric, the performance criterion being one of a plurality of performance criteria, and the performance metric being one of a plurality of performance metrics, and the determining that the first performance value does not satisfy the performance criterion being performed by one or more processors; selecting a modification technique for application to the first model, the modification technique being associated with a manner in which the code is generated from the first model, the modification technique being one of a plurality of modification techniques, the modification technique, when applied, to change the first performance value of the performance metric that does not satisfy the performance criterion, and the selecting being performed by the one or more processors; applying the modification technique to the first model, the applying being performed by the one or more processors; generating a second model based on applying the modification technique to the first model, the generating the second model being performed by the one or more processors; generating code for the second model, the generating the code for the second model being performed by the one or more processors; profiling the code generated for the second model, the profiling being performed by the one or more processors; and determining, based on the profiling, whether a second performance value of the performance metric, associated with executing the code generated for the second model, satisfies the performance criterion or is closer to satisfying the performance criterion than the first performance value, the determining whether the second performance value satisfies the performance criterion or is closer to satisfying the performance criterion than the first performance value being performed by the one or more processors.