I ran m5.prof two times. Here are the top five functions --

  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  8.35      5.05     5.05 58969209     0.00     0.00 
BaseSimpleCPU::preExecute()
  6.32      8.87     3.82 58975463     0.00     0.00  AtomicSimpleCPU::tick()
  4.69     11.71     2.84  5060904     0.00     0.00 
FullO3CPU<O3CPUImpl>::tick()
  3.60     13.89     2.18 84144079     0.00     0.00 
CacheSet::findBlk(unsigned long long) const
  2.86     15.62     1.73 79820055     0.00     0.00 
Cache<LRU>::access(Packet*, CacheBlk*&, int&, std::list<Packet*,
std::allocator<Packet*> >&)


  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  6.89      4.15     4.15 58969209     0.00     0.00 
BaseSimpleCPU::preExecute()
  6.78      8.23     4.08 58975463     0.00     0.00  AtomicSimpleCPU::tick()
  4.92     11.19     2.96  5060904     0.00     0.00 
FullO3CPU<O3CPUImpl>::tick()
  3.90     13.54     2.35 84144079     0.00     0.00 
CacheSet::findBlk(unsigned long long) const
  3.34     15.55     2.01 79820055     0.00     0.00 
Cache<LRU>::access(Packet*, CacheBlk*&, int&, std::list<Packet*,
std::allocator<Packet*> >&)


--
Nilay

On Wed, November 3, 2010 9:56 pm, Steve Reinhardt wrote:
> What was the gprof output?
>
> On Wed, Nov 3, 2010 at 4:45 PM, Nilay Vaish <[email protected]> wrote:
>
>> I profiled M5 but surprisingly I did not find any mention of the
>> function
>> findTagInSet() in the output obtained from gprof. Does it matter what
>> coherence protocol is in use? I carried out the following step -
>>
>> 1. Compiled m5.prof using
>> scons -j 6 USE_MYSQL=False RUBY=True build/ALPHA_FS/m5.prof
>>
>> 2. Ran blackscholes benchmark using the instructions specified in the
>> technical report 'Running PARSEC v2.1 in the M5 Simulator' by Gebhart et
>> al.
>> Specifically I ran the following command --
>>
>> ./build/ALPHA_FS/m5.prof ./configs/example/fs.py -n 1
>> --script=/scratch/nilay/GEM5/system/scripts/blackscholes.rcS --detailed
>> --caches --l2cache -F 5000000000
>>
>> These are the contents of blackscholes.rcS
>>
>> #!/bin/sh
>> # File to run the blackscholes benchmark
>> cd /parsec/install/bin /sbin/m5 switchcpu
>> /sbin/m5 dumpstats
>> /sbin/m5 resetstats
>> ./blackscholes 64 /parsec/install/inputs/blackscholes/in_64K.txt
>> /parsec/install/inputs/blackscholes/prices.txt
>> echo "Done :D"
>> /sbin/m5 exit
>> /sbin/m5 exit
>>
>> Thanks
>> Nilay
>>
>>
>>


_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to