summaryrefslogtreecommitdiffstats
path: root/host/docs/sync.rst
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-01-31 14:44:35 -0800
committerJosh Blum <josh@joshknows.com>2012-01-31 14:44:35 -0800
commit5b06adb7911727353938df84a0a6b71cda66c95c (patch)
treead0040340db02559682164d4f6e134ac019e7dc6 /host/docs/sync.rst
parente30cf4ec6d3c5e5c83fdb8e4ee39632fdb46c0df (diff)
downloaduhd-5b06adb7911727353938df84a0a6b71cda66c95c.tar.gz
uhd-5b06adb7911727353938df84a0a6b71cda66c95c.tar.bz2
uhd-5b06adb7911727353938df84a0a6b71cda66c95c.zip
uhd: branch-less round for time spec convert to ticks
This fixes valgrind warnings with branching on unit'd values, and possible exceptions thrown on bad unit'd values. As it turns out, sometimes tick_rate was passed unit'd, however, the value calculated was not of consequence. Also, iround was overkill because we dont need to handle negative tick rates or frac seconds, or bounds checking.
Diffstat (limited to 'host/docs/sync.rst')
0 files changed, 0 insertions, 0 deletions