Boost logo

Boost :

Subject: Re: [boost] Profiling template instantiations
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-12 06:55:30


On 05/10/08 19:06, Steven Watanabe wrote:
[snip]
> The code is in the sandbox
> http://svn.boost.org/svn/boost/sandbox/tools/profile_templates

Hi Steven,

Thanks for this tool; however...

I wanted to use another test driver instead of test.cpp. I thought
just adding another target to the Jamfile.v2 would work:

-{--Jamfile.v2--

template-profile test : test.cpp : <include>test_dir ;

template-profile and_seq_find_if : and_seq_find_if.cpp
   : <include> test_dir ;

-}--Jamfile.v2--

However, I get:

={--bjam output--
bjam link=static test
/home/evansl/prog_dev/boost-svn/ro/boost-trunk/tools/build/v2/util/path.jam:528:
in make-UNIX from module path
error: Empty path passed to 'make-UNIX'
/home/evansl/prog_dev/boost-svn/ro/boost-trunk/tools/build/v2/util/path.jam:44:
in path.make from module path
/home/evansl/prog_dev/boost-svn/ro/boost-trunk/tools/build/v2/build/property.jam:455:
in property.translate-paths
...
-}--bjam output--

and_seq_find_if.cpp is attached.

How can one profile something besides test.cpp?

-regards,
Larrry




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk