]> git.proxmox.com Git - mirror_frr.git/commit - configure.ac
*: Allow disabling of `getrusage` calls
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 16 Oct 2019 17:19:09 +0000 (13:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 16 Oct 2019 17:34:59 +0000 (13:34 -0400)
commitf75e802d8aa635185f67220901034dbdbae35b32
tree1c6d22875ce0127d7e73b87403487c07eb703792
parent30c9a17229cbe990584a61dfa2f84287bebb8156
*: Allow disabling of `getrusage` calls

getrusage, in a heavily stressed system, can account for
signficant running time due to process switching to the kernel.
Allow the end-operator to specify `--disable-cpu-time` to
avoid this call.  Additionally we cause `show thread cpu` to
not show up if this is selected.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
configure.ac
doc/user/basic.rst
doc/user/installation.rst
lib/thread.c
vtysh/vtysh.c