Thread (20 messages) flat view 20 messages, 2 authors, 2021-10-20

Re: [PATCH v2 2/5] tracing: Add division and multiplication support for hist triggers

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-10-20 15:13:07
Also in: linux-kselftest, lkml

On Wed, 20 Oct 2021 07:54:59 -0700
Kalesh Singh [off-list ref] wrote:
Is it worth adding something like this for the multiplication case as well?
No, multiplication is a pretty fast operation, and the added branches to
test would cause more overhead than what you would save. But, division is a
very slow operation, and I believe that even with the extra branches it
would still help.

If we do this, it should be a separate patch anyway, where we can actual do
measurements to see if there was an improvement, and revert if not.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help