Filtering by Comparison
The simplest filters are ones whose formats are as follows:
operator value
where operator is either a C/C++ or Fortran-style comparison operator, and value is a signed or unsigned integer constant or a floating-point number. For example, the filter for displaying all values greater than 100 is:
> 100
The following table lists the comparison operators:
Comparison | C/C++ Operator | Fortran Operator |
Equal | == | .eq. |
Not equal | != | .ne. |
Less than | < | .lt. |
Less than or equal | <= | .le. |
Greater than | > | .gt. |
Greater than or equal | >= | .ge. |
Figure 162 shows an array whose filter is
< 0. This tells TotalView to display only array elements whose value is less than 0 (zero).
If the value you are using in the comparison is an integer constant, TotalView performs a signed comparison. If you add the letter u or U to the constant, TotalView performs an unsigned comparison.