Re: [gem5-users] simObject clocks and global simulation clock

2014-12-23 Thread Anny via gem5-users
Andreas, I think my question is still not clear. I'm working on GEM5 to provide my company design team a tool that would simulate their models. Our mainly working is interconnection model. I am trying to model a given architecture with some router models. By extrenal object I mean: When I giv

Re: [gem5-users] variables modified inexplicably when using m5threads

2014-12-23 Thread Zehan Cui via gem5-users
Thanks, Andreas. I've just been lucky to solve the problem. According to the symptoms, it seems some memory regions are overlapped. So I looked at the m5threads source code, and found that the default stack size was set to 64KB. After I change it to 64MB, my program works fine, both the pthreads

Re: [gem5-users] variables modified inexplicably when using m5threads

2014-12-23 Thread Andreas Hansson via gem5-users
Hi Zehan, The only two things that come to mind are: 1) valgrind, 2) full-system. At least with (2) you know that the results you get are actually reflecting the behaviour of a real OS. Andreas From: Zehan Cui via gem5-users mailto:gem5-users@gem5.org>> Reply-To: Zehan Cui mailto:zehan@gma