> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DSTORAGE_PRIORITY_STATS

> DSTORAGE_PRIORITY_STATS

# DSTORAGE\_PRIORITY\_STATS

DirectStorage statistics.

## Syntax

```cpp theme={null}
struct DSTORAGE_PRIORITY_STATS {
    UINT32 CurrentQueueCount;
    UINT32 MaxQueueCount;
    UINT32 CumulativeQueueCount;
    UINT32 TotalStatusCount;
    UINT32 TotalFenceCount;
    UINT32 PendingRequestCount;
    UINT32 TotalRequestCount;
    UINT64 TotalRequestSourceByteCount;
    UINT64 TotalRequestDestinationByteCount;
};
```

### Members

*CurrentQueueCount*\
Type: UINT32

The number of currently open queues.

*MaxQueueCount*\
Type: UINT32

The highest number of concurrently opened queues.

*CumulativeQueueCount*\
Type: UINT32

Cumulative number of opened queues.

*TotalStatusCount*\
Type: UINT32

The total number of status requests.

*TotalFenceCount*\
Type: UINT32

The total number of fence requests.

*PendingRequestCount*\
Type: UINT32

The number of currently pending requests. A request is considered
to be in a pending state when the DirectStorage subsystem has started
processing it, but the request hasn't been completed yet.
A [IDStorageQueueX::Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) call is a signal for
the DirectStorage to start processing requests in the given queue. There might
be a delay between a [IDStorageQueueX::Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) call
and when a request is considered pending if lower level DirectStorage resources
are busy.

*TotalRequestCount*\
Type: UINT32

The total number of submitted requests.

*TotalRequestSourceByteCount*\
Type: UINT64

The sum of requests' source sizes.

*TotalRequestDestinationByteCount*\
Type: UINT64

The sum of requests' destination sizes.

## Remarks

This structure is returned as part of the [DSTORAGE\_STATS](/reference/system/dstorage/structs/dstorage_stats) used by the [IDStorageFactoryX1::GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats) method.

## Requirements

**Header:** dstorage\_xs.h

**Supported platforms:** XBOX Series consoles

## See also

[DStorage](/reference/system/dstorage/dstorage_members)
