Hey everyone, Has anyone ever run multithreading program in gem5, such as PARSEC? What command should I use? I set the cpu_num to 4, only the system cpu is different in the trace file. How multithreading works in gem5? I cannot see any system call in the trace file, when the threads do a context switch in gem5?
Thanks,
2420898583500: system.cpu3 T0 : 0x862d : bne r36,0x88a1 : IntAlu : 2420898583500: system.cpu3 T0 : 0x8631 : cmpeq r37,29,r36 : IntAlu : D=0x0000000000000000 2420898583500: system.cpu3 T0 : 0x8635 : bne r36,0x8c21 : IntAlu : 2420898583500: system.cpu3 T0 : 0x8639 : cmpeq r37,23,r36 : IntAlu : D=0x0000000000000000 2420898583500: system.cpu3 T0 : 0x863d : bne r36,0x8661 : IntAlu : 2420898599500: system.cpu1 T0 : 0x8641 : cmpeq r37,22,r36 : IntAlu : D=0x0000000000000001 2420898599500: system.cpu1 T0 : 0x8645 : bne r36,0x8699 : IntAlu : 2420898601500: system.cpu0 T0 : 0x8641 : cmpeq r37,22,r36 : IntAlu : D=0x0000000000000001 2420898601500: system.cpu0 T0 : 0x8645 : bne r36,0x8699 : IntAlu : 2420898618500: system.cpu3 T0 : 0x8641 : cmpeq r37,22,r36 : IntAlu : D=0x0000000000000001 2420898618500: system.cpu3 T0 : 0x8645 : bne r36,0x8699 : IntAlu : 2420898634000: system.cpu1 T0 : 0x8699 : bis r31,1,r16 : IntAlu : D=0x0000000000000001 2420898634000: system.cpu1 T0 : 0x869d : lda r12,3841(r31) : IntAlu : D=0x0000000000000f01 2420898634000: system.cpu1 T0 : 0x86a1 : sll r36,16,r36 : IntAlu : D=0x000000000f010000 2420898634000: system.cpu1 T0 : 0x86a5 : ldah r12,1(r12) : IntAlu : D=0x000000000f020000 2420898634000: system.cpu1 T0 : 0x86a9 : lda r12,-24576(r12) : IntAlu : D=0x000000000f01a000 2420898634000: system.cpu1 T0 : 0x86ad : sll r36,16,r36 : IntAlu : D=0x00000f01a0000000 2420898636000: system.cpu0 T0 : 0x8699 : bis r31,1,r16 : IntAlu : D=0x0000000000000001 2420898636000: system.cpu0 T0 : 0x869d : lda r12,3841(r31) : IntAlu : D=0x0000000000000f01 2420898636000: system.cpu0 T0 : 0x86a1 : sll r36,16,r36 : IntAlu : D=0x000000000f010000 2420898634000: system.cpu1 T0 : 0x86b1 : lda r12,128(r12) : IntAlu : D=0x00000f01a0000080 2420898636000: system.cpu0 T0 : 0x86a5 : ldah r12,1(r12) : IntAlu : D=0x000000000f020000 2420898636000: system.cpu0 T0 : 0x86a9 : lda r12,-24576(r12) : IntAlu : D=0x000000000f01a000 2420898524000: system.cpu2 T0 : 0x8869 : hw_mfpr IPR(0x14b),r12 : IprAccess : D=0xfffffc00003108d0 2420898636000: system.cpu0 T0 : 0x86ad : sll r36,16,r36 : IntAlu : D=0x00000f01a0000000
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users