diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-02-17 19:58:19 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-02-22 09:20:33 -0500 |
| commit | 5e8229578a96abb7cdfb24b5d7c8756b60793880 (patch) | |
| tree | 270edfcf876aa1b65686c8a0523fdb0e7e270b70 /lib/command_py.c | |
| parent | b6be812717a1335852d311990f13ce9c9a809b99 (diff) | |
lib: Reduce getrusage/monotime for event handling
When handling a large number of events at one time
FRR will call monotime and getrusage 2 times for each
event. With this change modify the code to change
this to (X events / 2) + 1 calls of getrusage and monotime
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
