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
std
TraceviewerServer
Definition:
BaseDataFile.cpp:66
TraceviewerServer::Filter::matches
bool matches(int processNum, int threadNum)
Definition:
Filter.hpp:113
TraceviewerServer::Range
Definition:
Filter.hpp:70
TraceviewerServer::Filter
Definition:
Filter.hpp:101
filterTest
void filterTest()
Definition:
filter_test.cpp:13
src
tool
hpcserver
UnitTests
filter_test.cpp
Generated by
1.8.13