HeapMultiBufMP_Params Struct Reference
来源:互联网 发布:苹果6移动网络快捷键 编辑:程序博客网 时间:2024/04/28 19:31
HeapMultiBufMP_Params Struct Reference
Structure defining parameters for the HeapMultiBufMP module. More...
#include <HeapMultiBufMP.h>
Data Fields
GateMP_Handle gateBool exactString nameInt numBucketsHeapMultiBufMP_Bucket * bucketEntriesUInt16 regionIdDetailed Description
Structure defining parameters for the HeapMultiBufMP module.
Field Documentation
GateMP used for critical region management of the shared memory
Using the default value of NULL will result in use of the GateMP system gate for context protection.
Use exact matching
Setting this flag will allow allocation only if the requested size is equal to (rather than less than or equal to) a buffer's block size.
Name of this instance.
The name (if not NULL) must be unique among all HeapMultiBufMP instances in the entire system. When creating a new heap, it is necessary to supply an instance name.
Number of buckets in HeapMultiBufMP_Params::bucketEntries
This parameter is required to create any instance.
Bucket Entries
The bucket entries are an array of HeapMultiBufMP_Bucket whose values correspond to the desired alignment, block size and length for each buffer. It is important to note that the alignments and sizes for each buffer may be adjusted due to cache and alignment related constraints. Buffer sizes are rounded up by their corresponding alignments. Buffer alignments themselves will assume the value of region cache alignment size when the cache size is greater than the requested buffer alignment.
For example, specifying a bucket with {blockSize: 192, align: 256} will result in a buffer of blockSize = 256 and alignment = 256. If cache alignment is required, then a bucket of {blockSize: 96, align: 64} will result in a buffer of blockSize = 128 and alignment = 128 (assuming cacheSize = 128).
Shared region ID
The index corresponding to the shared region from which shared memory will be allocated.
The documentation for this struct was generated from the following file:
- HeapMultiBufMP.h
Copyright 2010, Texas Instruments Incorporated
- HeapMultiBufMP_Params Struct Reference
- const,reference,struct
- GateMP_Params Struct Reference
- HeapBufMP_ExtendedStats Struct Reference
- HeapBufMP_Params Struct Reference
- HeapMemMP_ExtendedStats Struct Reference
- HeapMemMP_Params Struct Reference
- HeapMultiBufMP_Bucket Struct Reference
- HeapMultiBufMP_ExtendedStats Struct Reference
- HeapQueueMgr_Params Struct Reference
- ListMP_Elem Struct Reference
- ListMP_Params Struct Reference
- MessageQ_MsgHeader Struct Reference
- MessageQ_Params Struct Reference
- NameServer_Params Struct Reference
- SharedRegion_Entry Struct Reference
- fuse_operations Struct Reference
- cv::HaarDetectObjects_ScaleCascade_Invoker Struct Reference
- 3个整数从大到小排序(指针版)
- 第49章、可伸缩列表ExpandableListView(从零开始学Android)
- c++的用处
- IT运维管理需要迈过三重门
- 倪萍的三幅画
- HeapMultiBufMP_Params Struct Reference
- 网站安全要略谨记
- poj 1611 The Suspects 初级->数据结构->简单并查集的应用
- 求最大网络流的C++实现(利用广度优先遍历的思想)
- Java 获取系统信息和服务器信息
- HeapQueueMgr_Params Struct Reference
- ListMP_Elem Struct Reference
- 第50章、自动提示AutoCompleteTextView(从零开始学Android)
- DXGI_SWAP_CHAIN_DESC结构体