diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-06-25 17:42:00 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-27 17:09:06 +0000 |
commit | b69a471834c521e47a4931324e96e5ce7a49e865 (patch) | |
tree | 15edb811daa8023e22b84eab58be315ea2e869d5 /OWNERS | |
parent | 93b7637e6925ee2a58c3666e60d428749eb4eadf (diff) | |
download | chrome-ec-b69a471834c521e47a4931324e96e5ce7a49e865.tar.gz |
ish5: fast 32-bit division in scale_us2ticks
The critical section using scale_us2ticks is in __hw_clock_source_set,
which we can optimize as this has 32-bit inupts and outputs.
Make a separate function for this usage, scale_us2ticks_32, to be used
in this critical section.
BUG=b:133190570
BRANCH=none
TEST=tested outputs of scale_us2ticks_32 to make sure they matched the
correct value for 32-bit inputs
Change-Id: I4f0f928327cb686006c5ebf4ef17becc5e921d9e
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1677239
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'OWNERS')
0 files changed, 0 insertions, 0 deletions