tlb.cc (11430:bd1c6789c33f) | tlb.cc (11523:81332eb10367) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 212 unchanged lines hidden (view full) --- 221 lookupTable.insert(make_pair(table[i].VPN, i)); 222 } 223 } 224} 225 226void 227TLB::regStats() 228{ | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 212 unchanged lines hidden (view full) --- 221 lookupTable.insert(make_pair(table[i].VPN, i)); 222 } 223 } 224} 225 226void 227TLB::regStats() 228{ |
229 BaseTLB::regStats(); 230 |
|
229 read_hits 230 .name(name() + ".read_hits") 231 .desc("DTB read hits") 232 ; 233 234 read_misses 235 .name(name() + ".read_misses") 236 .desc("DTB read misses") --- 121 unchanged lines hidden --- | 231 read_hits 232 .name(name() + ".read_hits") 233 .desc("DTB read hits") 234 ; 235 236 read_misses 237 .name(name() + ".read_misses") 238 .desc("DTB read misses") --- 121 unchanged lines hidden --- |