Skip to content
Snippets Groups Projects

count_operations: fix to not count integer expressions for addresses/constants as real operations

Merged Dominik Ernst requested to merge count_ops into master

Tries to fix the number of counter operations by count_operations. Previously, counter computations with integer constants like +1 would be counted as real, because a evalf would make it a +1.0.

Additionally address computations with pointers of real* type would be counted as real too.

Also, x^-1/2 is counted as both a square root and a division.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply