HPCToolkit
filter_test.cpp
Go to the documentation of this file.
1 /*
2  * filter_test.cpp
3  *
4  * Created on: Jun 20, 2013
5  * Author: pat2
6  */
7 
8 #include "../Filter.hpp"
9 #include <iostream>
10 using namespace std;
11 using namespace TraceviewerServer;
12 
13 void filterTest (){
14  Filter f(Range(1,5,1), Range(0,3,1));
15 
16  bool b = f.matches(1,2);
17 
18  cout << "Include (1,2) " << (b ? "true" : "false") <<endl;
19 }
20 
21 
bool matches(int processNum, int threadNum)
Definition: Filter.hpp:113
void filterTest()
Definition: filter_test.cpp:13