Returns information about the current status of the cache, which can be used to determine the best parameters for cache initialization.
Can also output the current contents of the cache into a
This function is useful in finding the ideal parameters to use for a cache.
|Syntax:||[cache, file] call fn_vbs_cacheDiag|
|Return Value:||Array - [cache_params, usage_stats, hit_stats] |
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
_stats = ["mycache", "C:\mycache.csv"] call fn_vbs_cacheDiag
|See also:||fn vbs cachedEval, fn vbs cacheInit|