Hi Sujay, U can use file I/O operation , put the comments next to numcpus definition and also add some keyword , and then search for that keyword read the lines using readline() and extract the information , u need .
Regards, Ravi On Sun, Jun 22, 2008 at 4:45 PM, Sujay Phadke <[EMAIL PROTECTED]> wrote: > Hello, > I am trying to get the dynamic values of the system configuration and > use it in a custom .cc file in M5. For example, I would like to get the > numcpus, or L2 size, etc. which is either in the .py files or specified in > the config files. How do I get these values and use it in my files? > > Thanks, > Sujay > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- Regards, Ravi Prakash M
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
