aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 0134f18..9435c3d 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -74,6 +74,29 @@ namespace OpenSim.Framework.Communications.Cache
74 RequestedAssets.Count, 74 RequestedAssets.Count,
75 RequestedTextures.Count, 75 RequestedTextures.Count,
76 RequestLists.Count ); 76 RequestLists.Count );
77
78 int temporaryImages = 0;
79 int temporaryAssets = 0;
80
81 foreach (TextureImage texture in Textures.Values)
82 {
83 if(texture.Temporary)
84 {
85 temporaryImages++;
86 }
87 }
88
89 foreach (AssetInfo asset in Assets.Values)
90 {
91 if (asset.Temporary)
92 {
93 temporaryAssets++;
94 }
95 }
96
97 m_log.InfoFormat("Temporary Images:{0} Temporary Assets:{1}",
98 temporaryImages,
99 temporaryAssets );
77 } 100 }
78 101
79 public void Clear() 102 public void Clear()