dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_sync.h File Reference
#include "dx_common.h"
#include "dx_assert.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <mach/error.h>
#include <mach/mach_time.h>
#include <semaphore.h>
#include <AudioToolbox/AudioToolbox.h>
+ Include dependency graph for macOS/dx_sync.h:
+ This graph shows which files directly or indirectly include this file:

Classes

class  dx::event< kernel >
 kernel triggerable user space event More...
 
struct  dx::os_event
 kernel/user space shared event representation More...
 
class  dx::shared::event
 macOS user space shared event More...
 
class  dx::shared::memory< buffer_t >
 macOS user space shared memory More...
 
struct  dx::shared::memory< buffer_t >::header
 
class  dx::thread::prio
 thread::prio More...
 
class  dx::thread::prio::realtime
 thread::prio::realtime More...
 
class  dx::thread::workgroup
 
class  dx::thread::workgroup::interval
 
class  dx::thread::workgroup::join
 
class  dx::timebase
 

Namespaces

namespace  dx
 dynax driver framework user mode interface namespace
 
namespace  dx::shared
 shared
 
namespace  dx::thread
 thread
 

Enumerations

enum  dx::scale : int64_t {
  dx::nsec = 1ll , dx::usec = 1000ll , dx::msec = usec* 1000ll , dx::sec = msec* 1000ll ,
  dx::sec = msec* 1000ll , dx::msec = usec* 1000ll , dx::usec = 1000ll , dx::nsec = 1ll
}
 

Functions

int64_t dx::duration (int64_t timestamp, scale scale)
 macOS: timestamp duration (clock ticks) to time converter
 
std::string dx::thread::name ()
 
void dx::thread::name (const char *name)
 
uint32_t dx::priority ()
 
int64_t dx::time (int64_t timestamp, scale scale=nsec)
 macOS: timestamp (clock ticks) to time converter
 
int64_t dx::timestamp ()
 macOS: high precision timestamp (clock ticks) Returns current value of a clock that increments monotonically in tick units (starting at an arbitrary point), this clock does not increment while the system is asleep.
 
int64_t dx::timestamp (int64_t time, scale scale=nsec)
 macOS: time to timestamp (clock ticks) converter
 
int64_t dx::timestamp_offset (int64_t time, scale scale=nsec)
 macOS: duration to timestamp (clock ticks) converter
 

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.