Profiler.hh (10301:44839e8febbd) | Profiler.hh (10919:80069a602c83) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 52 unchanged lines hidden (view full) --- 61#include "params/RubySystem.hh" 62 63class RubyRequest; 64class AddressProfiler; 65 66class Profiler 67{ 68 public: | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 52 unchanged lines hidden (view full) --- 61#include "params/RubySystem.hh" 62 63class RubyRequest; 64class AddressProfiler; 65 66class Profiler 67{ 68 public: |
69 Profiler(const RubySystemParams *); | 69 Profiler(const RubySystemParams *params); |
70 ~Profiler(); 71 72 void wakeup(); 73 void regStats(const std::string &name); 74 void collateStats(); 75 76 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; } 77 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; } --- 58 unchanged lines hidden --- | 70 ~Profiler(); 71 72 void wakeup(); 73 void regStats(const std::string &name); 74 void collateStats(); 75 76 AddressProfiler* getAddressProfiler() { return m_address_profiler_ptr; } 77 AddressProfiler* getInstructionProfiler() { return m_inst_profiler_ptr; } --- 58 unchanged lines hidden --- |