* Added count of temporary assets

ThreadPoolClientBranch
lbsa71 2008-02-09 21:25:34 +00:00
parent 176a1fe382
commit e2ed5bf6b9
1 changed files with 23 additions and 0 deletions

View File

@ -74,6 +74,29 @@ namespace OpenSim.Framework.Communications.Cache
RequestedAssets.Count,
RequestedTextures.Count,
RequestLists.Count );
int temporaryImages = 0;
int temporaryAssets = 0;
foreach (TextureImage texture in Textures.Values)
{
if(texture.Temporary)
{
temporaryImages++;
}
}
foreach (AssetInfo asset in Assets.Values)
{
if (asset.Temporary)
{
temporaryAssets++;
}
}
m_log.InfoFormat("Temporary Images:{0} Temporary Assets:{1}",
temporaryImages,
temporaryAssets );
}
public void Clear()