Hi,

Just wanted to mention one thing that Pejman forgot.

When you run the timing simulations, each sample outputs a statistics database. The postprocess.sh script is what's extracting the UIPC from this database using the stat-manager program. The sample_and_ipcs.sh script does two things: it collects the statistics databases from all samples using the stat-sample program, and then it collects all the UIPCs into a single file. Hopefully that gives you a better idea of the roles of the different scripts and programs.


Jason



On 18/10/2010 11:31 AM, Lotfi Kamran Pejman wrote:
There is a script named "postprocess.sh" which uses the "Nodes-uarch-TB:User:Commits:Busy" Stat. The 
"postprocess.sh" script is used by the "run_job" script. You need to modify the "postprocess.sh" 
script to use the actual Stat name.

Regards,
Pejman

________________________________________
From: Mahmood Naderan [[email protected]]
Sent: Monday, October 18, 2010 4:48 PM
To: simflex
Subject: Re: UIPCs file content

Please determine the name of the Stat by using "stat-manager print ..."
Currently, sample_and_ipcs.sh uses stat-sample. You mean I have to replace that?

use the correct Stat name in the sample_and_ipcs.sh<http://sample_and_ipcs.sh/> 
 script.
what do you mean by "stat name"? My simulator is UP.OoO and the main command in 
sample_and_ipcs.sh is:
( $STAT_DIR/stat-sample stats_db.out.gz */stats_db.out.selected.gz ; grep -vE '^$' 
*/UIPC | sed 's/UIPC: //' | sort>  UIPCs )&

Regards,
// Naderan *Mahmood;


________________________________
From: Lotfi Kamran Pejman<[email protected]>
To: Mahmood Naderan<[email protected]>; simflex<[email protected]>
Sent: Mon, October 18, 2010 5:43:15 PM
Subject: RE: UIPCs file content

Hi Mahmood,

In some simulators, the name of the output Stat is not "Nodes-uarch-TB:User:Commits:Busy". 
Please determine the name of the Stat by using "stat-manager print ..." and use the correct 
Stat name in the sample_and_ipcs.sh<http://sample_and_ipcs.sh/>  script.

Regards,
Pejman

________________________________________
From: Mahmood Naderan [[email protected]<mailto:[email protected]>]
Sent: Sunday, October 17, 2010 2:17 PM
To: simflex
Subject: UIPCs file content

Hi,
After running a timing simulation, collapse_all.sh<http://collapse_all.sh/>  
creates stats_db.out.gz. However when I run sample_and_ipcs.sh, the content ot UIPCs 
is:


workload1_000_0001/UIPC:{ERR:No Such Stat: Nodes-uarch-TB:User:Commits:Busy }

workload1_000_0002/UIPC:{ERR:No Such Stat: Nodes-uarch-TB:User:Commits:Busy }

workload1_000_0003/UIPC:{ERR:No Such Stat: Nodes-uarch-TB:User:Commits:Busy }

....


Additional info:

mahm...@localhost:workload1$ find ./ -name "*stats_db*"
./stats_db.out.gz
./workload1_000_0001/stats_db.out.gz
./workload1_000_0001/stats_db.out.selected.gz
./workload1_000_0002/stats_db.out.gz
./workload1_000_0002/stats_db.out.selected.gz
./workload1_000_0003/stats_db.out.gz
./workload1_000_0003/stats_db.out.selected.gz
....

Thanks for any idea
// Naderan *Mahmood;




Reply via email to