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!