i doubt everyone wants a hacky debug print to appear every frame
This commit is contained in:
parent
d0c111ebf6
commit
7b22d0b6bc
|
@ -642,7 +642,9 @@ public:
|
||||||
|
|
||||||
void evict(u32 target = kMaxCacheSize)
|
void evict(u32 target = kMaxCacheSize)
|
||||||
{
|
{
|
||||||
printf("%d %d/%d\n",index.size(),cache_size/1024,target/1024);
|
//debug print
|
||||||
|
//printf("%d %d/%d\n",index.size(),cache_size/1024,target/1024);
|
||||||
|
|
||||||
//dont do anything unless we're over the target
|
//dont do anything unless we're over the target
|
||||||
if(cache_size<target) return;
|
if(cache_size<target) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue