[Gems-users] assertion error 'm_misses == requests' in profiler/CacheProfiler.C:118


Date: Wed, 3 Jun 2009 14:15:52 -0400
From: Young Jin Yoon <yy2223@xxxxxxxxxxxx>
Subject: [Gems-users] assertion error 'm_misses == requests' in profiler/CacheProfiler.C:118
Hi,

I tried to run simulation with PARSEC benchmarks.
After running for 16 days, I tried to dump out the stats using
following command:

simics> ruby0.dump-stat freqmine.result

However, I got an assertion error as follows:

failed assertion 'm_misses == requests' at fn void CacheProfiler::printStats(std::ostream&) const in profiler/CacheProfiler.C:118
failed assertion 'm_misses == requests' at fn void CacheProfiler::printStats(std::ostream&) const in profiler/CacheProfiler.C:118
At this point you might want to attach a debug to the running and get to the                                                                         
crash site; otherwise press enter to continue                             
PID: 1694

Even though there is an assertion error, I could get some part of the result.

To figure out why it happend, I looked into the code and realized that "m_misses" is defined as int64, while "request" is in a normal integer type. Based on my simulation result, I realized that "m_miss" value is 3994289623, which is greater than LONG_MAX value.

Since "requests" is defined as integer, is it possible that values in "requests" gets overflowed in this case?
Can someone clarify the assumption I made?

Regards,
Young Jin

[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] assertion error 'm_misses == requests' in profiler/CacheProfiler.C:118, Young Jin Yoon <=