[Gems-users] A question about using writeConfiguration(…)


Date: Wed, 30 Mar 2011 10:50:35 +0800
From: "Yu Jiaxin" <yjxhit@xxxxxxxxx>
Subject: [Gems-users] A question about using writeConfiguration(…)

Hi all

 

I met a problem when using system:: writeConfiguration( char *configurationName ) in Opal.

And I want to save the states of the processors.

 

I used it in /opal/system.c

{……………..

m_seq[j]->advanceCycle();

writeConfiguration(checkpointName);

…………….

}

 

But I got the following content in the output file:

 

bpred_yags: ((0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1,……))

ipred_cascade: ((0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,……))

 

I do not know why the values are all 0 or 1.

 

I do not know how can I use system:: writeConfiguration( …) correctly and get the right values.

 

Thank you very much!

 
 
2011-03-30

Yu Jiaxin

[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] A question about using writeConfiguration(…), Yu Jiaxin <=