DescriptionRefactor ImageCache::getattribute and in the process make it so that we can retrieve all the statistics individually. This is especially handy for two immediate uses: (1) makes it easier for apps to ask OIIO how much cache memory it has actually used, directly, without having to ask for full stats as a string and parse it; (2) makes it easier to write unit tests that expect a particular stat to have a certain value to confirm that something is working properly.
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 3
|