02-25-2009 12:05 AM
I am trying to integrate the perfmon library to TBB to give the task scheduler some extra hardware information.
However, I need to modify the Makefile to link an extra libpfm.a file provided by perfmon library.
I have scaned through the Makefiles in TBB package but still don't know how to do this.
Could you please help me with this problem
Any help would be grateful!!
02-25-2009 05:29 AM
LIBS variable is responsible for this. It is set in compiler-specific include files i.e. linux.icc.inc for the Intel compiler or linux.gcc.inc for the gcc.
New Contributor II
02-25-2009 06:20 AM
02-25-2009 11:43 PM
Thanks for the reply. That do help me a lot!!
After solving the library problem, I want to add a new cpp file into the src/tbb directory.
How should I modify the Makefile to compile the my new cpp file and link the corresponding object file?
I have try to compile the new cpp file into a object file manually and put the object file into the build diretory.
Then I add the object file into the TBB_CPLUS_OBJ in the Makefile.tbb.
However, the error message shows that the newly added object file could not be found.
Any help would be grateful
02-25-2009 11:47 PM
I am trying to make the task scheduler aware of the cache interference between threads.
Then I would try to solve this interference problem by re-scheduling tasks to lower the required cache footprint.