diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-06-13 11:39:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-06-14 14:20:30 +0200 |
commit | c34bb0dcfa8ba1294cd5182349e1ddbe34f81bf4 (patch) | |
tree | 249469ef52fd9829a59ca914322805c351267da1 /.gitignore | |
parent | score: New structure TOD_Control (diff) | |
download | rtems-c34bb0dcfa8ba1294cd5182349e1ddbe34f81bf4.tar.bz2 |
score: Fix performance issue for 64-bit timestamps
The 64-bit timestamps were introduced to simplify the timestamp
calculations. This works well since nearly all operations are
additions. The previous _TOD_Tickle_ticks() implementation had a
serious performance regression in case of 64-bit timestamps due to the
usage of two 64-bit divisions which are quite expensive on some
architectures.
A new field seconds_trigger in TOD_Control is introduced to trigger the
_Watchdog_Tickle_seconds() in _TOD_Tickle_ticks(). This avoids the
64-bit divisions completely and only 32-bit additions are used.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions