Lines Matching defs:arrayPtr

63     CacheArray* arrayPtr = NULL;
122 arrayPtr = new CacheArray(xml_data, &interface_ip, "Data and Tag Arrays",
125 children.push_back(arrayPtr);
129 int num_tdp_ports = arrayPtr->l_ip.num_rw_ports +
130 arrayPtr->l_ip.num_rd_ports + arrayPtr->l_ip.num_wr_ports;
133 arrayPtr->tdp_stats.reset();
134 arrayPtr->tdp_stats.readAc.access = cache_stats.tdp_read_access_scalar *
137 arrayPtr->tdp_stats.readAc.miss = 0;
138 arrayPtr->tdp_stats.readAc.hit = arrayPtr->tdp_stats.readAc.access -
139 arrayPtr->tdp_stats.readAc.miss;
140 arrayPtr->tdp_stats.writeAc.access = cache_stats.tdp_write_access_scalar *
143 arrayPtr->tdp_stats.writeAc.miss = 0;
144 arrayPtr->tdp_stats.writeAc.hit = arrayPtr->tdp_stats.writeAc.access -
145 arrayPtr->tdp_stats.writeAc.miss;
146 arrayPtr->tdp_stats.searchAc.access = 0;
147 arrayPtr->tdp_stats.searchAc.miss = 0;
148 arrayPtr->tdp_stats.searchAc.hit = 0;
150 arrayPtr->rtp_stats.reset();
152 arrayPtr->rtp_stats.dataReadAc.access =
154 arrayPtr->rtp_stats.dataWriteAc.access =
156 arrayPtr->rtp_stats.tagReadAc.access =
158 arrayPtr->rtp_stats.tagWriteAc.access =
166 arrayPtr->rtp_stats.dataReadAc.access =
168 arrayPtr->rtp_stats.dataWriteAc.access =
170 arrayPtr->rtp_stats.tagReadAc.access =
172 arrayPtr->rtp_stats.tagWriteAc.access =
178 arrayPtr->setSBTDirOverhead(dir_overhead);
181 arrayPtr->sbt_tdp_stats.readAc.access =
185 arrayPtr->sbt_tdp_stats.readAc.miss = 0;
186 arrayPtr->sbt_tdp_stats.readAc.hit =
187 arrayPtr->sbt_tdp_stats.readAc.access -
188 arrayPtr->sbt_tdp_stats.readAc.miss;
189 arrayPtr->sbt_tdp_stats.writeAc.access =
193 arrayPtr->sbt_tdp_stats.writeAc.miss = 0;
194 arrayPtr->sbt_tdp_stats.writeAc.hit =
195 arrayPtr->sbt_tdp_stats.writeAc.access -
196 arrayPtr->sbt_tdp_stats.writeAc.miss;
199 arrayPtr->sbt_rtp_stats.readAc.access =
201 arrayPtr->sbt_rtp_stats.readAc.miss =
203 arrayPtr->sbt_rtp_stats.readAc.access =
206 arrayPtr->sbt_rtp_stats.writeAc.access =
208 arrayPtr->sbt_rtp_stats.writeAc.miss =
210 arrayPtr->sbt_rtp_stats.writeAc.hit =
257 arrayPtr = new CacheArray(xml_data, &interface_ip, "Miss Buffer",
260 children.push_back(arrayPtr);
262 arrayPtr->tdp_stats.reset();
263 arrayPtr->tdp_stats.readAc.access = 0;
264 arrayPtr->tdp_stats.writeAc.access = arrayPtr->l_ip.num_search_ports;
265 arrayPtr->tdp_stats.searchAc.access = arrayPtr->l_ip.num_search_ports;
267 arrayPtr->rtp_stats.reset();
268 arrayPtr->rtp_stats.readAc.access =
270 arrayPtr->rtp_stats.writeAc.access =
272 arrayPtr->rtp_stats.searchAc.access = 0;
275 arrayPtr->rtp_stats.readAc.access +=
277 arrayPtr->rtp_stats.writeAc.access +=
312 arrayPtr = new CacheArray(xml_data, &interface_ip, "Fill Buffer",
315 children.push_back(arrayPtr);
317 arrayPtr->tdp_stats.reset();
318 arrayPtr->tdp_stats.readAc.access = 0;
319 arrayPtr->tdp_stats.writeAc.access = arrayPtr->l_ip.num_search_ports;
320 arrayPtr->tdp_stats.searchAc.access = arrayPtr->l_ip.num_search_ports;
322 arrayPtr->rtp_stats.reset();
323 arrayPtr->rtp_stats.readAc.access =
325 arrayPtr->rtp_stats.writeAc.access =
327 arrayPtr->rtp_stats.searchAc.access = 0;
330 arrayPtr->rtp_stats.readAc.access +=
332 arrayPtr->rtp_stats.writeAc.access +=
368 arrayPtr = new CacheArray(xml_data, &interface_ip, "Prefetch Buffer",
371 children.push_back(arrayPtr);
373 arrayPtr->tdp_stats.reset();
374 arrayPtr->tdp_stats.readAc.access = 0;
375 arrayPtr->tdp_stats.writeAc.access = arrayPtr->l_ip.num_search_ports;
376 arrayPtr->tdp_stats.searchAc.access = arrayPtr->l_ip.num_search_ports;
378 arrayPtr->rtp_stats.reset();
379 arrayPtr->rtp_stats.readAc.access = cache_stats.read_misses;
380 arrayPtr->rtp_stats.writeAc.access = cache_stats.read_misses;
381 arrayPtr->rtp_stats.searchAc.access = 0;
384 arrayPtr->rtp_stats.readAc.access +=
386 arrayPtr->rtp_stats.writeAc.access +=
423 arrayPtr = new CacheArray(xml_data, &interface_ip,
427 children.push_back(arrayPtr);
429 arrayPtr->tdp_stats.reset();
430 arrayPtr->tdp_stats.readAc.access = 0;
431 arrayPtr->tdp_stats.writeAc.access =
432 arrayPtr->l_ip.num_search_ports;
433 arrayPtr->tdp_stats.searchAc.access =
434 arrayPtr->l_ip.num_search_ports;
436 arrayPtr->rtp_stats.reset();
437 arrayPtr->rtp_stats.readAc.access = cache_stats.write_misses;
438 arrayPtr->rtp_stats.writeAc.access = cache_stats.write_misses;
439 arrayPtr->rtp_stats.searchAc.access = 0;
442 arrayPtr->rtp_stats.readAc.access +=
444 arrayPtr->rtp_stats.writeAc.access +=