Lines Matching refs:histo
212 UInt* histo; /* [0 .. xsize-1] */
245 // histo stuff
289 the access counts and histo data that have so far accumulated for
334 // histo stuff. First, do state transitions for xsize/xsize_tag.
340 tl_assert(!api->histo);
344 // and allocate the histo
346 api->histo = VG_(malloc)("dh.main.retire_Block.1",
348 VG_(memset)(api->histo, 0, api->xsize * sizeof(UInt));
359 // deallocate the histo, if any
360 if (api->histo) {
361 VG_(free)(api->histo);
362 api->histo = NULL;
375 // See if we can fold the histo data from this block into
377 if (api->xsize_tag == Exactly && api->histo && bk->histoW) {
381 // FIXME: do something better in case of overflow of api->histo[..]
383 if (api->histo[i] <= 0xFFFE0000)
384 api->histo[i] += (UInt)bk->histoW[i];
393 VG_(printf)("block retiring, histo %lu: ", bk->req_szB);
399 VG_(printf)("block retiring, no histo %lu\n", bk->req_szB);
1151 if (api->histo && api->xsize_tag == Exactly) {
1162 VG_(umsg)("%u ", api->histo[i]);