top: make the 'cpu_tics' function a tad more efficient
authorJim Warner <james.warner@comcast.net>
Wed, 8 Jul 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 20 Jul 2020 06:12:00 +0000 (16:12 +1000)
commit246c5fa8126556708c4537f618f61a31adeef43f
tree5a14ec6cfcf6480b6b27e5c3a40c1871994a6445
parent9232625f0fd15cae0259b8df6cc1d6f65a479d74
top: make the 'cpu_tics' function a tad more efficient

This patch eliminates one variable which resulted in a
corresponding elimination of three 'mov' instructions.

[ that was 6 bytes per 'mov' for a total of 18 bytes ]

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