CACHE_TREND_COUNTERS

Returns cache trend information.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct { 
     nuint32   numCacheChecks ; 
     nuint32   numCacheHits ; 
     nuint32   numDirtyCacheChecks ; 
     nuint32   numDirtyCacheHits ; 
     nuint32   cacheUsedWhileChecking ; 
     nuint32   waitForDirtyBlocksDecreaseCount ; 
     nuint32   allocBlockFromAvailCount ; 
     nuint32   allocBlockFromLRUCount ; 
     nuint32   allocBlockAlreadyWaiting ; 
     nuint32   LRUSittingTime ; 
  } CACHE_TREND_COUNTERS; 
  

Delphi Structure

  uses calwin32 
   
    CACHE_TREND_COUNTERS = packed Record 
       numCacheChecks : nuint32;  
       numCacheHits : nuint32;  
       numDirtyCacheChecks : nuint32;  
       numDirtyCacheHits : nuint32;  
       cacheUsedWhileChecking : nuint32;  
       waitForDirtyBlocksDecreaseCount : nuint32;  
       allocBlockFromAvailCount : nuint32;  
       allocBlockFromLRUCount : nuint32;  
       allocBlockAlreadyWaiting : nuint32;  
       LRUSittingTime : nuint32 
    End; 
  

Fields

numCacheChecks
Specifies the total number of times any block in the cache was looked at since the server was brought up.
numCacheHits
Specifies the number of times cache requests were serviced from existing cache blocks.
numDirtyCacheChecks
Specifies the number of times a cache block was checked to determine if it is dirty.
numDirtyCacheHits
Specifies the time in ticks the oldest cache block has been available (sitting in the LRU list).
cacheUsedWhileChecking
Specifies the number of cache blocks that were allocated and then returned to the available list while a cache was being checked during different cache operations (read, write, etc.).
waitForDirtyBlocksDecreaseCount
Specifies the number of times a process had to wait until the number of dirty cache blocks decreased to less than the cache dirty block threshold.
allocBlockFromAvailCount
Specifies the number of cache blocks removed from the available list and used.
allocBlockFromLRUCount
Specifies the number of cache blocks removed from the LRU list and used done if cache blocks cannot be removed from the available list).
allocBlockAlreadyWaiting
Specifies the number of times an attempt was made to allocate a cache block but none are available in the available list or LRU (system waits and tries again later).
LRUSittingTime
Specifies the time (in ticks) that the oldest cache block has been available and was sitting in the LRU list.