tlb.hh (5891:73084c6bb183) | tlb.hh (5894:8091ac99341a) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 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; --- 117 unchanged lines hidden (view full) --- 126 mutable Stats::Scalar<> acv; 127 mutable Stats::Formula accesses; 128 129 public: 130 typedef AlphaITBParams Params; 131 ITB(const Params *p); 132 virtual void regStats(); 133 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 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; --- 117 unchanged lines hidden (view full) --- 126 mutable Stats::Scalar<> acv; 127 mutable Stats::Formula accesses; 128 129 public: 130 typedef AlphaITBParams Params; 131 ITB(const Params *p); 132 virtual void regStats(); 133 |
134 Fault translateAtomic(RequestPtr &req, ThreadContext *tc); | 134 Fault translateAtomic(RequestPtr req, ThreadContext *tc); 135 void translateTiming(RequestPtr req, ThreadContext *tc, 136 Translation *translation); |
135}; 136 137class DTB : public TLB 138{ 139 protected: 140 mutable Stats::Scalar<> read_hits; 141 mutable Stats::Scalar<> read_misses; 142 mutable Stats::Scalar<> read_acv; --- 7 unchanged lines hidden (view full) --- 150 Stats::Formula acv; 151 Stats::Formula accesses; 152 153 public: 154 typedef AlphaDTBParams Params; 155 DTB(const Params *p); 156 virtual void regStats(); 157 | 137}; 138 139class DTB : public TLB 140{ 141 protected: 142 mutable Stats::Scalar<> read_hits; 143 mutable Stats::Scalar<> read_misses; 144 mutable Stats::Scalar<> read_acv; --- 7 unchanged lines hidden (view full) --- 152 Stats::Formula acv; 153 Stats::Formula accesses; 154 155 public: 156 typedef AlphaDTBParams Params; 157 DTB(const Params *p); 158 virtual void regStats(); 159 |
158 Fault translateAtomic(RequestPtr &req, ThreadContext *tc, bool write); | 160 Fault translateAtomic(RequestPtr req, ThreadContext *tc, bool write); 161 void translateTiming(RequestPtr req, ThreadContext *tc, 162 Translation *translation, bool write); |
159}; 160 161} // namespace AlphaISA 162 163#endif // __ARCH_ALPHA_TLB_HH__ | 163}; 164 165} // namespace AlphaISA 166 167#endif // __ARCH_ALPHA_TLB_HH__ |