]> granicus.if.org Git - procps-ng/commit
library: lower addr resolution cost for TICS_ALL_DELTA
authorJim Warner <james.warner@comcast.net>
Wed, 21 Apr 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sat, 24 Apr 2021 01:11:03 +0000 (11:11 +1000)
commit0f691226ecaf706fbf7f1a28c9430bced88a3004
tree2138c59e8a0bac154a8f4e47affa4f02a92508ee
parent8e0e3aff642811ea975d72bac6fbd63eabb35696
library: lower addr resolution cost for TICS_ALL_DELTA

Rather than run risks of more expensive and repetitive
address resolution, we will establish this local index
for a one time cost and avoid any potential gcc bloat.

[ this commit was made in pursuit of a bug involving ]
[ the distortion of elapsed task tics. but, it turns ]
[ out these changes had nothing to do with that bug. ]
[ however, the patch is being retained as desirable. ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c