base.cc (10024:fc10e1f9f124) base.cc (10025:fdf737112e46)
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

142 percentOccsTaskId
143 .name(name() + ".occ_task_id_percent")
144 .desc("Percentage of cache occupancy per task id")
145 .flags(nozero)
146 ;
147
148 percentOccsTaskId = occupanciesTaskId / Stats::constant(numBlocks);
149
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

142 percentOccsTaskId
143 .name(name() + ".occ_task_id_percent")
144 .desc("Percentage of cache occupancy per task id")
145 .flags(nozero)
146 ;
147
148 percentOccsTaskId = occupanciesTaskId / Stats::constant(numBlocks);
149
150 tagAccesses
151 .name(name() + ".tag_accesses")
152 .desc("Number of tag accesses")
153 ;
154
155 dataAccesses
156 .name(name() + ".data_accesses")
157 .desc("Number of data accesses")
158 ;
159
150 registerDumpCallback(new BaseTagsDumpCallback(this));
151 registerExitCallback(new BaseTagsCallback(this));
152}
160 registerDumpCallback(new BaseTagsDumpCallback(this));
161 registerExitCallback(new BaseTagsCallback(this));
162}