#include <dxd_stream.h>
|
| class | monitor |
| | clock::monitor buffer to be shared with user client mappings to measure jitter and latencies at various levels (IRQ, DPC, ASIO) More...
|
| |
|
| | clock () |
| |
| template<typename return_t = os_result, typename exec_t > |
| return_t | each (exec_t exec) |
| |
| void | free () |
| |
| os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor) |
| | IOKit memory initializer.
|
| |
| os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset, size_t size) |
| | IOKit memory initializer.
|
| |
| os_result | initialize (const void *data, size_t size) |
| | IOKit memory initializer.
|
| |
| os_result | initialize (const::MDL *mdl) |
| |
| os_result | initialize (const::MDL *mdl, size_t offset, size_t size) |
| |
| os_result | initialize (size_t size, unsigned int limit=limit_t, unsigned int alignment=alignment_t, bool contigous=contigous_t) |
| | IOKit buffer initializer.
|
| |
| os_result | initialize (size_t size, unsigned int limit=limit_t, unsigned int alignment=alignment_t, bool contigous=contigous_t) |
| |
| os_result | initialize (void *data, size_t size) |
| | IOKit memory initializer.
|
| |
| | operator const::IOMemoryDescriptor * () const |
| | IOKit IOMemoryDescriptor* implicit cast.
|
| |
| | operator uint64_t () const |
| | IOKit physical address (only relevant for contigous memory)
|
| |
| | operator::IOMemoryDescriptor * () |
| |
| | operator::MDL * () const |
| |
| item_t * | pop () |
| | pop item from head
|
| |
| item_t * | pop (item_t *item) |
| | pop item
|
| |
| list & | print () |
| |
| item_t * | push (item_t *item) |
| | push item to head
|
| |
| os_result | signal () |
| |
| size_t | size () const |
| | IOKit memory size.
|
| |
|
| void | free () |
| | kernel map free
|
| |
| os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset=0) |
| | IOKit kernel map initializer.
|
| |
| size_t | size () const |
| | kernel mapping size
|
| |
◆ clock()
template<typename channel_t = int>
◆ each()
template<typename item_t = link>
template<typename return_t = os_result, typename exec_t >
◆ free()
template<
dx::scope scope_t = dx::kernel, unsigned int limit_t = 64, unsigned int alignment_t = 0, bool contigous_t = false>
| void dxd::buffer< scope_t, limit_t, alignment_t, contigous_t >::free |
( |
| ) |
|
|
inlineinherited |
◆ initialize() [1/8]
IOKit memory initializer.
◆ initialize() [2/8]
| os_result dxd::memory< scope_t >::initialize |
( |
::IOMemoryDescriptor * | iokit_memory_descriptor, |
|
|
size_t | offset, |
|
|
size_t | size ) |
|
inlineinherited |
IOKit memory initializer.
◆ initialize() [3/8]
IOKit memory initializer.
- Parameters
-
| data | virtual base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
◆ initialize() [4/8]
in contrast to an IOKit MemoryDescriptor MDLs do not support reference counting. take care when creating a dxd::memory from a dxd::buffer: although the dxd::memory holds an MDL to the buffer the buffer itself is not retained after the dxd::buffer is released!
◆ initialize() [5/8]
◆ initialize() [6/8]
template<
dx::scope scope_t = dx::kernel, unsigned int limit_t = 64, unsigned int alignment_t = 0, bool contigous_t = false>
| os_result dxd::buffer< scope_t, limit_t, alignment_t, contigous_t >::initialize |
( |
size_t | size, |
|
|
unsigned int | limit = limit_t, |
|
|
unsigned int | alignment = alignment_t, |
|
|
bool | contigous = contigous_t ) |
|
inlineinherited |
IOKit buffer initializer.
Allows re-initialization.
Creates a buffer and associated memory descriptor.
Wires down the backing store memory.
- Parameters
-
| size | size to be alloced by buffer object |
| limit | limit physical memory address space |
| alignment | enforce physical memory alignment |
| contigous | enforce contiguos physical memory |
◆ initialize() [7/8]
template<
dx::scope scope_t = dx::kernel, unsigned int limit_t = 64, unsigned int alignment_t = 0, bool contigous_t = false>
| os_result dxd::buffer< scope_t, limit_t, alignment_t, contigous_t >::initialize |
( |
size_t | size, |
|
|
unsigned int | limit = limit_t, |
|
|
unsigned int | alignment = alignment_t, |
|
|
bool | contigous = contigous_t ) |
|
inlineinherited |
Allows re-initialization
- Parameters
-
| size | size to be alloced by buffer object |
| limit | limit physical memory address space |
| alignment | enforce physical memory alignment |
| contigous | enforce contiguos physical memory |
◆ initialize() [8/8]
IOKit memory initializer.
- Parameters
-
| data | virtual base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
◆ operator const::IOMemoryDescriptor *()
| dxd::memory< scope_t >::operator const::IOMemoryDescriptor * |
( |
| ) |
const |
|
inlineinherited |
IOKit IOMemoryDescriptor* implicit cast.
◆ operator uint64_t()
IOKit physical address (only relevant for contigous memory)
◆ operator::IOMemoryDescriptor *()
| dxd::memory< scope_t >::operator::IOMemoryDescriptor * |
( |
| ) |
|
|
inlineinherited |
◆ operator::MDL *()
◆ pop() [1/2]
template<typename item_t = link>
◆ pop() [2/2]
template<typename item_t >
◆ print()
template<typename item_t >
◆ push()
template<typename item_t >
◆ signal()
◆ size()
◆ monitor
template<typename channel_t = int>
◆ references
template<typename channel_t = int>
clock domain start count - counts how often the domain was started
◆ samplerate
template<typename channel_t = int>
◆ status
IOKit memory status.
status of memory object
The documentation for this class was generated from the following file: