Use likely() and unlikely() in ActivityTimer::ActivityTimer()

Description

Timing is the normal case, but the compiler will assume false leading to an extra jump (or two) on the normal path.

 

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created June 29, 2023 at 9:17 AM
Updated July 6, 2023 at 1:57 PM
Resolved July 6, 2023 at 1:57 PM