Hi Rita The compiler estimate the work for each filter using a cost model of every operation encountered in the filter work body. In other words, the compiler iterates through the statement in a filter's work method, and estimates the number of cycles required to compute the expressions in the statements. The compiler has a set of costs that were derived empiricaly (in the very near future, it will be possible to plug in different cost models). If you're interested in these costs, you can find the work estimation algorithm in streams/src/at/dms/kjc/sir/lowering/partition/WorkEstimate.java.
The partitioning algorithms in the compiler will refine the filter graph to achieve a set of N load balanced partitions, where N is the number of processors and load balancing is with respect to the total work estimate calculated for the filters in each partition. There are other details related to the partitioning, and if you have more specific questions we'll be happy to address them. rodric On Sun, Dec 7, 2008 at 12:52 AM, Rita Chattopadhyay <[email protected]> wrote: > Hi, > > I have the work-estimate.txt file got after executing FMRadio.str with 8 > processors (attached)....can anyone please tell me how this work is > calculated and what is the unit of the work estimate against each > thread????? > > Will be very benefitted to get a quick reply. > > Thanks, > Rita > Research student > CSE dept > ASU > Arizona > _______________________________________________ StreamIt-users mailing list [email protected] https://lists.csail.mit.edu/mailman/listinfo/streamit-users
