Re: [gem5-dev] Review Request 2667: ext: Add SST connector

2015-02-24 Thread Nathan Binkert via gem5-dev
--- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2667/#review5912 --- Not to be difficult, but is it possible for Sandia to just use the

Re: [gem5-dev] windows fs boot and simulation

2015-01-29 Thread nathan binkert via gem5-dev
binkert via gem5-dev gem5-dev@gem5.org wrote: I have a question. If you're trying to simulate a windows guest on a linux host. What are you doing with cygwin? On Wed, Jan 28, 2015 at 8:05 PM, mike upton via gem5-dev gem5-dev@gem5.org wrote: I would like

Re: [gem5-dev] windows fs boot and simulation

2015-01-28 Thread nathan binkert via gem5-dev
I have a question. If you're trying to simulate a windows guest on a linux host. What are you doing with cygwin? On Wed, Jan 28, 2015 at 8:05 PM, mike upton via gem5-dev gem5-dev@gem5.org wrote: I would like to get started on trying to simulate a windows x86 machine (on top of a linux host).

Re: [gem5-dev] Review Request 2513: KVM: Build in most of the KVM stuff even if we're not going to use it.

2014-11-18 Thread nathan binkert via gem5-dev
Is the USE_KVM setting visible as a preprocessor directive in the C++? If so, I could use that to set the kvm pointer to NULL if KVM is turned off instead of getting it from the parameters. Then the question is how to condition adding the KVM parameter to the python version of the device.

Re: [gem5-dev] remote gdb bug

2014-11-03 Thread nathan binkert via gem5-dev
It actually is inserted into the map. Notice the type of bkpt. It is actually a *reference* to a pointer. So, when bkpt is modified, it updates the location in the map. Nate On Sat Nov 01 2014 at 10:44:53 PM He Hu via gem5-dev gem5-dev@gem5.org wrote: Hi developers, In

Re: [gem5-dev] Review Request 2466: ruby: provide a second copy of the memory

2014-10-27 Thread nathan binkert via gem5-dev
I'm only somewhat following this thread, but I think that it's worth saying that requiring protocols to actually get the data correct has one huge benefit. It causes incorrect algorithms to produce incorrect answers. Sometimes we want to allow shortcuts, but generally with modeling, it's nice to

Re: [gem5-dev] Review Request 2442: dev: Use shared_ptr for EthPacketData

2014-10-05 Thread Nathan Binkert via gem5-dev
On Oct. 1, 2014, 11:37 p.m., Steve Reinhardt wrote: Are the bool cast operators being used anywhere? It looks like you put them in, but then do the 'ptr != nullptr' thing everywhere we need a bool, so I'm wondering if they're useful. How about replacing the cast operator with

Re: [gem5-dev] Review Request 2442: dev: Use shared_ptr for EthPacketData

2014-10-03 Thread Nathan Binkert via gem5-dev
On Oct. 1, 2014, 11:37 p.m., Steve Reinhardt wrote: Are the bool cast operators being used anywhere? It looks like you put them in, but then do the 'ptr != nullptr' thing everywhere we need a bool, so I'm wondering if they're useful. How about replacing the cast operator with

Re: [gem5-dev] Review Request 2442: dev: Use shared_ptr for EthPacketData

2014-10-02 Thread Nathan Binkert via gem5-dev
On Oct. 1, 2014, 11:37 p.m., Steve Reinhardt wrote: Are the bool cast operators being used anywhere? It looks like you put them in, but then do the 'ptr != nullptr' thing everywhere we need a bool, so I'm wondering if they're useful. How about replacing the cast operator with

Re: [gem5-dev] Review Request 2442: dev: Use shared_ptr for EthPacketData

2014-10-02 Thread Nathan Binkert via gem5-dev
On Oct. 1, 2014, 11:37 p.m., Steve Reinhardt wrote: Are the bool cast operators being used anywhere? It looks like you put them in, but then do the 'ptr != nullptr' thing everywhere we need a bool, so I'm wondering if they're useful. How about replacing the cast operator with

Re: [gem5-dev] Review Request 2427: scons: Generate a single debug flag C++ file

2014-09-29 Thread Nathan Binkert via gem5-dev
--- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2427/#review5376 --- Ship it! Funny that we used to have one .hh and one .cc file and I move

Re: [gem5-dev] Review Request 2425: config: Add a --without-python option to build process

2014-09-29 Thread Nathan Binkert via gem5-dev
--- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2425/#review5377 --- src/SConscript http://reviews.gem5.org/r/2425/#comment4874 Why not

Re: [gem5-dev] Review Request 2456: base: Reimplement the DPRINTF mechanism in a Logger class

2014-09-29 Thread Nathan Binkert via gem5-dev
--- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2456/#review5378 --- src/base/trace.cc http://reviews.gem5.org/r/2456/#comment4875 This

Re: [gem5-dev] Review Request 2456: base: Reimplement the DPRINTF mechanism in a Logger class

2014-09-29 Thread Nathan Binkert via gem5-dev
On Sept. 29, 2014, 1:19 p.m., Nathan Binkert wrote: src/base/trace.cc, line 74 http://reviews.gem5.org/r/2456/diff/1/?file=42022#file42022line74 default_logger may not be constructed during a static constructor anymore, so if someone had log statements very early, things would

Re: [gem5-dev] Review Request 2407: ext: dsent: adds a Python interface, drops C++ one

2014-09-21 Thread Nathan Binkert via gem5-dev
--- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2407/#review5341 --- Seems like you should try to get these changes approved upstream to make

Re: [gem5-dev] Review Request 2353: base: Use STL C++11 random number generation

2014-08-24 Thread nathan binkert via gem5-dev
06:21, nathan binkert via gem5-dev gem5-dev@gem5.org wrote: How often is the RNG used. Is it so bad to put a lock around it? If so, can't you build a wrapper around the RNG that generates 1MB of random bits at a time and then funnels those bits through a lock free queue? Nate On Sat

Re: [gem5-dev] Review Request 2353: base: Use STL C++11 random number generation

2014-08-23 Thread nathan binkert via gem5-dev
How often is the RNG used. Is it so bad to put a lock around it? If so, can't you build a wrapper around the RNG that generates 1MB of random bits at a time and then funnels those bits through a lock free queue? Nate On Sat, Aug 23, 2014 at 9:33 AM, Nilay Vaish via gem5-dev

Re: [gem5-dev] Using gprof in SE mode

2014-05-13 Thread nathan binkert via gem5-dev
In practice, I don't know that there's any built-in support for application profiling in gem5 (am I forgetting something?). It wouldn't be too hard to add a periodic event that recorded the PC values of all the cores, which would give you a first-level sampling of where time is being spent