Update cpu and memory event code (#3081)

Release Notes:

- N/A
8b0969b698Joseph T. Lyons committed on 10/3/2023, 5:36:35 PM· committed by GitHubparentscf5d89db10255a
1 file changedLine totals unavailable