AddressProfiler.hh (7455:586f99bf0dc4) AddressProfiler.hh (8164:b043c0efa024)
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;

--- 41 unchanged lines hidden (view full) ---

50 public:
51 AddressProfiler(int num_of_sequencers);
52 ~AddressProfiler();
53
54 void printStats(std::ostream& out) const;
55 void clearStats();
56
57 void addTraceSample(Address data_addr, Address pc_addr,
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;

--- 41 unchanged lines hidden (view full) ---

50 public:
51 AddressProfiler(int num_of_sequencers);
52 ~AddressProfiler();
53
54 void printStats(std::ostream& out) const;
55 void clearStats();
56
57 void addTraceSample(Address data_addr, Address pc_addr,
58 CacheRequestType type, AccessModeType access_mode,
58 CacheRequestType type, RubyAccessMode access_mode,
59 NodeID id, bool sharing_miss);
60 void profileRetry(const Address& data_addr, AccessType type, int count);
61 void profileGetX(const Address& datablock, const Address& PC,
62 const Set& owner, const Set& sharers, NodeID requestor);
63 void profileGetS(const Address& datablock, const Address& PC,
64 const Set& owner, const Set& sharers, NodeID requestor);
65
66 void print(std::ostream& out) const;

--- 38 unchanged lines hidden ---
59 NodeID id, bool sharing_miss);
60 void profileRetry(const Address& data_addr, AccessType type, int count);
61 void profileGetX(const Address& datablock, const Address& PC,
62 const Set& owner, const Set& sharers, NodeID requestor);
63 void profileGetS(const Address& datablock, const Address& PC,
64 const Set& owner, const Set& sharers, NodeID requestor);
65
66 void print(std::ostream& out) const;

--- 38 unchanged lines hidden ---