summaryrefslogtreecommitdiff
path: root/lib/filter.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-10-16 13:19:09 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-10-16 13:34:59 -0400
commitf75e802d8aa635185f67220901034dbdbae35b32 (patch)
tree1c6d22875ce0127d7e73b87403487c07eb703792 /lib/filter.c
parent30c9a17229cbe990584a61dfa2f84287bebb8156 (diff)
*: 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>
Diffstat (limited to 'lib/filter.c')
0 files changed, 0 insertions, 0 deletions