i doubt everyone wants a hacky debug print to appear every frame

This commit is contained in:
zeromus 2009-12-16 05:47:09 +00:00
parent d0c111ebf6
commit 7b22d0b6bc
1 changed files with 3 additions and 1 deletions

View File

@ -642,7 +642,9 @@ public:
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
if(cache_size<target) return;