MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / init

Method init

src/libtexture/imagecache.cpp:130–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129
130void
131ImageCacheStatistics::init ()
132{
133 // ImageCache stats:
134 find_tile_calls = 0;
135 find_tile_microcache_misses = 0;
136 find_tile_cache_misses = 0;
137// tiles_created = 0;
138// tiles_current = 0;
139// tiles_peak = 0;
140 files_totalsize = 0;
141 bytes_read = 0;
142// open_files_created = 0;
143// open_files_current = 0;
144// open_files_peak = 0;
145 unique_files = 0;
146 fileio_time = 0;
147 fileopen_time = 0;
148 file_locking_time = 0;
149 tile_locking_time = 0;
150 find_file_time = 0;
151 find_tile_time = 0;
152
153 // TextureSystem stats:
154 texture_queries = 0;
155 texture_batches = 0;
156 texture3d_queries = 0;
157 texture3d_batches = 0;
158 shadow_queries = 0;
159 shadow_batches = 0;
160 environment_queries = 0;
161 environment_batches = 0;
162 aniso_queries = 0;
163 aniso_probes = 0;
164 max_aniso = 1;
165 closest_interps = 0;
166 bilinear_interps = 0;
167 cubic_interps = 0;
168 file_retry_success = 0;
169 tile_retry_success = 0;
170}
171
172
173

Callers 3

openMethod · 0.45
mergestatsMethod · 0.45
reset_statsMethod · 0.45

Calls 3

attributeFunction · 0.50
get_string_attributeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected