. |
mpiControlStatusCacheStatistics Declaration
Description mpiControlStatusCacheStatistics retrieves the cache refresh statistics and returns them in the MPIControlStatusCacheStatistics structure. The statistics are based on the how much time it has taken to refresh the local cache from the server. The user can use the average refresh time as a basis for setting the cache refresh interval with mpiControlStatusCacheIntervalSet. Note: If statistics.count is zero, then the other statistic values provide no meaningful data. As the value of statistics.count increases, the significance of the statistics values also increases.
Sample Code The following sample function executes mpiControlStatusCacheRefresh a given number of times and then prints out the refresh time statistics.
See Also Status Caching | mpiControlStatusCacheIntervalSet | mpiControlStatusCacheStatisticsReset | mpiControlStatusCacheRefresh
|
| | Copyright © 2001-2021 Motion Engineering |