Patent ID: 7509244

Claim:
In a computer system, a computer-implemented method for partitioning a processing of a graphical model, the method comprising: generating, using the computer system, a graph comprising a plurality of nodes, at least one node of the graph being depended upon by two or more nodes of the graph, the graph identifying one or more sections of the graphical model for which to perform one or more portions of the processing, the graph representing one or more separate paths of model compilation and one or more concurrent paths of model compilation; identifying, using the computer system, a first section of the graphical model, from the graph, for which to perform a first portion of the processing; identifying, using the computer system, a second section of the graphical model, from the graph, that can be concurrently processed with the identified first section and for which to perform a second portion of the processing; processing concurrently, using the computer system, the first section of the graphical model with the second section of the graphical model, the concurrent processing including: generating, as part of the first portion of processing, code for the identified first section, and generating, as part of the second portion of processing, code for the identified second section; and storing, using the computer system, the generated code for the identified first section and the generated code for the identified second section in at least one of a storage device and a memory.