You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!query_num) {
std::string name(HERE_WRITE_YOUR_LOG_NAME);
cout << "Writing to " << name << '\n';
ProfilerStart(name.c_str());
}
++query_num;
B) Library requirements and installation
Download libunwind (configure --prefix=.., make, make install)
Go to the quickstep/third_party/gperftools. Install gperftools
(configure --prefix=.., make, make install)
Provide flags - CC=(gcc compiler path), CXX=(g++ compiler path),
CFLAGS=(-I..path to libunwind/include), CXXFLAGS=(-I..path to
libunwind/include), LDFLAGS=(-L..path to libunwind/lib), configure
--prefix=.., make, make install
Add the gperftools to CMakeLists.txt
link_directories(path to gperftools setup's lib directory)
set(LIBS ${LIBS} profiler)