Does anyone know how to properly activate a thread in O3? When I activate a
thread using the thread_context->activate(delay), it stays idle instead of
executing commands after it has been activated.
Thanks,
Steve jian

On Sat, Aug 20, 2011 at 4:04 AM, Stevenson Jian <[email protected]>wrote:

> Hi,
> I am working with the O3 processor under smt mode. I have been trying to
> activate and suspend the smt threads. To activate a thread, in tick() in
> src/cpu/o3/cpu.cc, I use:
> ThreadContext *src_tc=tcBase(tid);
> src_tc->suspend();
>
> To suspend a thread, again in tick() under the same file, I use
> ThreadContext *src_tc=tcBase(tid);
> src_tc->activate(1).
>
> Simulation traces using Cache and O3CPU flag shows that after a thread has
> been suspended, the cache occasionally still sees accesses from the
> suspended thread. Also, occasionally a suspended thread will remain idle
> after being activated.
>
> What is the proper way of  suspending and activating a thread in a O3 cpu?
> Thanks a lot for your help,
>
> Steve Jian
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to