OPENDAP / bes

The BES framework, which forms the basis for the Hyrax server
GNU Lesser General Public License v3.0
13 stars 19 forks source link

Added a macro to streamline BESStopWatch use. #923

Closed jgallagher59701 closed 6 months ago

jgallagher59701 commented 6 months ago

Added a macro to start a timer if any of a set of BESDebug flags it tests are set. The advantage of this macro is that it drops to zero code when NDEBUG is defined. Our code often uses a macro that leaves the BESStopWatch object definition in the code when NDEBUG is defined. This is not a problem, but it does make the code a bit slower.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

jgallagher59701 commented 6 months ago

@ndp-opendap @dh-opendap Please review