Hello,
I am working on migrating application threads from one core
to another on gem5. I have implemented a pseudo-instruction to trigger
thread migration. When an application thread calls this
pseudo-instruction, I want to migrate the thread to another cpu. My
problem is that I cannot migrate
Hello again,
I give up to use drain() and switchOut() functions since I only seek
for migrate anapplication thread from one core to another without any
change on cpu type. So I updated my pseudo-instruction like that:
void
my_func(ThreadContext *tc)
{
BaseCPU *oldcpu = tc->getCpuPtr();
Syst
Hello,
My aim is to copy the context of a thread to another thread which runs
on different cpu. According to the definition of takeOverFrom() in
gem5/src/cpu/thread_context.cc, we can copy thread contexts:
/**
* Copy state between thread contexts in preparation for CPU handover.
*
* @note