> ## 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 统计信息。

## 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*\
类型：UINT32

当前打开的队列数量。

*MaxQueueCount*\
类型：UINT32

同时打开的最高队列数量。

*CumulativeQueueCount*\
类型：UINT32

累计打开的队列数量。

*TotalStatusCount*\
类型：UINT32

状态请求的总数。

*TotalFenceCount*\
类型：UINT32

fence 请求的总数。

*PendingRequestCount*\
类型：UINT32

当前挂起的请求数量。当 DirectStorage 子系统开始处理某个请求但该请求尚未完成时，该请求被视为处于挂起状态。[IDStorageQueueX::Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) 调用是让 DirectStorage 开始处理给定队列中请求的信号。如果更底层的 DirectStorage 资源繁忙，则 [IDStorageQueueX::Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) 调用与请求被视为挂起之间可能存在延迟。

*TotalRequestCount*\
类型：UINT32

已提交请求的总数。

*TotalRequestSourceByteCount*\
类型：UINT64

各请求源大小的总和。

*TotalRequestDestinationByteCount*\
类型：UINT64

各请求目标大小的总和。

## Remarks

此结构作为 [DSTORAGE\_STATS](/reference/system/dstorage/structs/dstorage_stats) 的一部分返回，供 [IDStorageFactoryX1::GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats) 方法使用。

## Requirements

**头文件：** dstorage\_xs.h

**受支持的平台：** XBOX Series 主机

## See also

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


## Related topics

- [DSTORAGE_STATS](/zh-CN/reference/system/dstorage/structs/dstorage_stats.md)
- [DStorage](/zh-CN/reference/system/dstorage/dstorage_members.md)
- [DSTORAGE_PRIORITY](/zh-CN/reference/system/dstorage/enums/dstorage_priority.md)
- [DSTORAGE_QUEUE_DESC](/zh-CN/reference/system/dstorage/structs/dstorage_queue_desc.md)
- [DSTORAGE_QUEUE_DESC1](/zh-CN/reference/system/dstorage/structs/dstorage_queue_desc1.md)
