base.cc (8229:78bf55f23338) | base.cc (8240:38befb82b2c9) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 80 unchanged lines hidden (view full) --- 89 occupancies 90 .init(cache->numCpus() + 1) 91 .name(name + ".occ_blocks") 92 .desc("Average occupied blocks per context") 93 .flags(nozero | nonan) 94 ; 95 96 avgOccs | 1/* 2 * Copyright (c) 2003-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; --- 80 unchanged lines hidden (view full) --- 89 occupancies 90 .init(cache->numCpus() + 1) 91 .name(name + ".occ_blocks") 92 .desc("Average occupied blocks per context") 93 .flags(nozero | nonan) 94 ; 95 96 avgOccs |
97 .name(name + ".occ_%") | 97 .name(name + ".occ_percent") |
98 .desc("Average percentage of cache occupancy") 99 .flags(nozero) 100 ; 101 102 avgOccs = occupancies / Stats::constant(numBlocks); 103 104 registerExitCallback(new BaseTagsCallback(this)); 105} | 98 .desc("Average percentage of cache occupancy") 99 .flags(nozero) 100 ; 101 102 avgOccs = occupancies / Stats::constant(numBlocks); 103 104 registerExitCallback(new BaseTagsCallback(this)); 105} |