dxd - dynax driver framework 2.1.0d58
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 dependency graph for macOS/dx_sync.h:

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
 
class  dx::shared::memory< buffer_t >
 macOS user space shared memory More...
 
struct  dx::shared::memory< buffer_t >::header
 
class  dx::thread::prio
 
class  dx::thread::prio::realtime
 
class  dx::timebase
 

Namespaces

namespace  dx
 dynax driver framework user mode interface namespace
 
namespace  dx::shared
 
namespace  dx::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

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
 

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Apr 27 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.