Hello all,
I have a question about the _stream variable of the OutputStream
class(base/output.hh, base/output.cc)
I had a question about the variable definition.
std::ostream *const _stream;
Why do we use std::ostream vs std::ofstream?
The reason I am asking is because I cannot seem to find
Hello Jason,
Following the example in the elastic trace code seems to work for me.
Thanks
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hello all,
Has anyone used the findOrCreate Gem5 function for opening custom file streams?
For example in src/cpu/base.cc we see that this function is used in the
constructor for BaseCPU
const std::string fname = csprintf("ftrace.%s", name());
functionTraceStream =
Hello,
In src/cpu/base.cc we have the following destructor:
BaseCPU::~BaseCPU()
{
}
By default nothing is inside of it. However, when I put code inside, it does
not seem to be executed at any point. Based on some previous threads I have
seen on the forums, it seems that the destructor for
Dear all,
I looked at fetch.cc for the O3CPU and in particular looked at the function
which calls the branch predictor.
bool Fetch::lookupAndUpdateNextPC(const DynInstPtr , TheISA::PCState
)
Here are the first couple of lines for quick reference:
bool predict_taken;
if
Hello Javed Osmany,
Did you try clicking the links to the different parts of the course?
Thanks,
Scott Blankenberg
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
Dear all,
For those of you who have used the TraceCPU to replay elastic traces, how fast
was the replay mechanism?
In other words how much faster is it to capture the trace and replay it with
TraceCPU versus just re-simulating with O3CPU?
This question is somewhat open-ended and variable,
Dear all,
Can anyone still access the gem5 101 course at :
https://www.gem5.org/documentation/learning_gem5/gem5_101/#:~:text=Branch%20prediction%20and%20predication%20are%20two%20common%20techniques,how%20to%20incorporate%20gem5%20into%20your%20research%20process.
When I click the links I get
Update: Since then I have used the --debug-flags=ExecEnable,ExecUser,ExecKernel
to extract a trace file.
However, I can't seem to find away to clip the output to just contain the
instruction addresses. There does not seem to be an option for this.
Does this mean I will have to modify the
Dear all,
I was wondering if there was an easy way to extract the instruction traces for
a given benchmark using GEM5. If so, is there a tutorial on how to do so? Or
any other pointers someone could give me? Going through the GEM5 documentation,
I have not found a straight-forward way yet.
I
10 matches
Mail list logo