tlb.cc (11422:4f749e00b667) | tlb.cc (11430:bd1c6789c33f) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * Copyright (c) 2007-2008 The Florida State University 5 * Copyright (c) 2009 The University of Edinburgh 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 209 unchanged lines hidden (view full) --- 218 lookupTable.insert(make_pair(table[i].VPN, i)); 219 } 220 } 221} 222 223void 224TLB::regStats() 225{ | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * Copyright (c) 2007-2008 The Florida State University 5 * Copyright (c) 2009 The University of Edinburgh 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 209 unchanged lines hidden (view full) --- 218 lookupTable.insert(make_pair(table[i].VPN, i)); 219 } 220 } 221} 222 223void 224TLB::regStats() 225{ |
226 BaseTLB::regStats(); 227 | |
228 read_hits 229 .name(name() + ".read_hits") 230 .desc("DTB read hits") 231 ; 232 233 read_misses 234 .name(name() + ".read_misses") 235 .desc("DTB read misses") --- 124 unchanged lines hidden --- | 226 read_hits 227 .name(name() + ".read_hits") 228 .desc("DTB read hits") 229 ; 230 231 read_misses 232 .name(name() + ".read_misses") 233 .desc("DTB read misses") --- 124 unchanged lines hidden --- |