commit | 2a54ffbf434143e6f76c426c48f752e402e7d764 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 25 09:32:58 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 25 09:44:16 2021 +0100 |
tree | 8007ced93dca4cdaa6cbfcb8cb1355530e8e0208 | |
parent | b2285de0493713f8572e8f2df3bd26f69021479b [diff] |
MINOR: task: make tasklet wakeup latency measurements more accurate First, we don't want to measure wakeup times if the call date had not been set before profiling was enabled at run time. And second, we may only collect the value before clearing the TASK_IN_LIST bit, otherwise another wakeup might happen on another thread and replace the call date we're about to use, hence artificially lower the wakeup times.