MCPcopy Create free account
hub / github.com/apache/trafficserver / shouldShowDuration

Function shouldShowDuration

lib/catch2/catch.hpp:15792–15801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15790 }
15791
15792 bool shouldShowDuration( IConfig const& config, double duration ) {
15793 if ( config.showDurations() == ShowDurations::Always ) {
15794 return true;
15795 }
15796 if ( config.showDurations() == ShowDurations::Never ) {
15797 return false;
15798 }
15799 const double min = config.minDuration();
15800 return min >= 0 && duration >= min;
15801 }
15802
15803 std::string serializeFilters( std::vector<std::string> const& container ) {
15804 ReusableStringStream oss;

Callers 1

sectionEndedMethod · 0.85

Calls 2

showDurationsMethod · 0.80
minDurationMethod · 0.80

Tested by

no test coverage detected