Skip to content

Conversation

@pasis
Copy link
Member

@pasis pasis commented Oct 4, 2019

Measure resources used by a test and print it in human readable format.

Warmup stage adds a significant error if we collect performance
counters for the whole sockperf process. As solution, the counters are
measured inside the process and around the actual test.

This patch reports CPU usage and context switches for Unix-like OSes.

Measure resources used by a test and print it in human readable format.

Warmup stage adds a significant error if we collect performance
counters for the whole sockperf process. As solution, the counters are
measured inside the process and around the actual test.

Signed-off-by: Dmytro Podgornyi <[email protected]>

log_msg("Test ended");

resources_sub(&m_rusage_end, &m_rusage_start, &m_rusage);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m_rusage can be local

@igor-ivanov
Copy link
Collaborator

bot:retest

@Mellanox Mellanox deleted a comment from swx-jenkins3 Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants