Hi, Nilay
Thanks! Yes, after get the data by multiplying the cycle_period and
ruby_cycles, I think I can explain
the results.
I ran the application using script and dumpresetstats before running the
user application.
It seems that dumpresetstats doesnot work for ruby. How to solve this problem?
The data in ruby.stats
The ruby cycle_period: 500, and Ruby_cycles: 7095735495.
The result of multiplying them is: 3547867747500
The data in stats.txt are:
Data by first dumpresetstate:
---------- Begin Simulation Statistics ----------
sim_seconds 2.432645 #
Number of seconds simulated
sim_ticks 2432644795000
The data after finish the execution and exit gem5:
---------- Begin Simulation Statistics ----------
sim_seconds 1.113264 #
Number of seconds simulated
sim_ticks 1113263905500 #
Number of ticks simulated
final_tick 3547867747500
________________________________________
From: [email protected] [[email protected]] on behalf of
Nilay [[email protected]]
Sent: Wednesday, June 13, 2012 4:04 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] How to interprete Ruby_cycles in the simulation
results of Ruby
On Tue, June 12, 2012 5:18 am, GE ZHIGUO wrote:
> Hi,
> I run simulation with GEM5/Ruby. And I got the following statistics from
> stats.txt and ruby.stats:
> If I am not wrong, the sim_ticks in stats.txt and Ruby_cycles in
> ruby.stats should be almost the same.
> But in my simulation, they are much different. Can anyone help interpret
> the data? Thanks!
Is it not evident from the data the these two can be different. You need
to multiply the ruby cycles with some constant (cycle period) to get the
actual time elapsed.
--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users