Date: | Fri, 5 Mar 2010 07:30:26 -0600 |
---|---|
From: | Dan Gibson <degibson@xxxxxxxx> |
Subject: | Re: [Gems-users] How to access L2 cache entry in LRUPolicy.h |
Liz, 1. Go and do that tutorial on templates that I suggested in my previous email. Your problem relates more to a lack of understanding of how C++ templates work than to any issue with Ruby. 2. You might want to study C++ in general, while you're at it. Simply adding m_cache to LRUPolicy doesn't make it the same cache as the one used by the L2. 3. By the looks of things, you are getting your segfault because the m_cache you have added to LRUPolicy is never sized. I.e., the vector is empty. Look at how other code uses vectors. Regards, Dan
On Fri, Mar 5, 2010 at 3:39 AM, Liz Joy <lizjoy86@xxxxxxxxx> wrote: Hii.. -- http://www.cs.wisc.edu/~gibson [esc]:wq! |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] GCC compatibility, Mahmood Naderan |
---|---|
Next by Date: | Re: [Gems-users] Issue with SLICC ...in MOESI_CMP_L2-sim, Dan Gibson |
Previous by Thread: | [Gems-users] How to access L2 cache entry in LRUPolicy.h, Liz Joy |
Next by Thread: | [Gems-users] How to compile the generated the files, Liz Joy |
Indexes: | [Date] [Thread] |