Skip to content

Do not show memory usage if runner doesn't support it in the TestHarness #32459

@loganharbour

Description

@loganharbour

Motivation

When running without psutil (required for memory tracking), you end up getting this in output when enabling timing:

[0.288s] [   ?MB]       OK materials/boundary_material.dont_execute_when_not_needed/interface
[0.233s] [   ?MB]       OK reporters/parsed_reporters.errorVectorReporter
[0.337s] [   ?MB]       OK multiapps/command_line.split_with_vector_double

Values can be ? when they run quick enough and are still tracked, but if all you have are ? it's a bit redundant.

Design

Don't show the memory column when the environment doesn't support memory tracking.

Impact

Removes extraneous information in output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions