summaryrefslogtreecommitdiffstats
path: root/src/firewire-cdev.h
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2012-06-18 01:19:54 +0200
committerGravatar Stefan Richter 2012-06-18 01:53:32 +0200
commit5b4cffe9d7b515d807874da48c6a149edc37a99b (patch)
tree07aa5bc3df3617e8caeaae59ba2f68fa35e0619e /src/firewire-cdev.h
parentTweak raw1394_add_config_rom_descriptor() API, add documentation and test case (diff)
Add raw1394_read_cycle_timer_and_clock() API
This is an extension relative to raw1394_read_cycle_timer(). It lets the client choose a system clock other than CLOCK_REALTIME. Use case: http://subversion.ffado.org/ticket/242 The underlying ioctl supports reading the system clock with nanoseconds resolution. The new libraw1394 call sticks with microseconds resolution though. This makes transition from (or parallel use with) raw1394_read_cycle_timer() easier. Besides, the call itself takes longer than a microsecond, primarily due to a costly MMIO read (on many controllers even three or more MMIO reads). Unit tests with CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW are added to testlibraw as well. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'src/firewire-cdev.h')
0 files changed, 0 insertions, 0 deletions
-04gb.hpp - ComplexGravatar gingerBill 2-276/+778 2015-10-03gb.hpp - AtomicsGravatar gingerBill 1-102/+500 2015-10-02gb.hpp - Bug FixesGravatar Ginger Bill 3-38/+50 2015-09-30gb.hpp - Matrix(2,3)Gravatar gingerBill 2-29/+421 2015-09-29Update README.mdGravatar gingerBill 1-1/+1 2015-09-29gb.hpp - Fix BugsGravatar gingerBill 2-41/+111 2015-09-29gb_string.h - Fix typos and errorsGravatar gingerBill 1-5/+6 2015-09-28Os spec ideasGravatar gingerBill 1-29/+126 2015-09-28gb.hpp - Transform Type and Quaternion FunctionsGravatar gingerBill 1-27/+205 2015-09-28gb.hpp - StringGravatar gingerBill 1-37/+647 2015-09-28gb.hpp - Time functionsGravatar gingerBill 1-481/+765 2015-09-27gb.hpp - Hash Table SupportGravatar gingerBill 2-137/+592 2015-09-27Add experimental gb.hppGravatar gingerBill 2-4/+2257 2015-09-27Fix Silly MistakesGravatar gingerBill 2-150/+151 2015-09-27Update README.mdGravatar gingerBill 1-1/+2 2015-09-27Add extern "C" if compiling as C++Gravatar gingerBill 2-8/+27