rank_filter.cxx: Added for profiling the performance of the rank filter.