Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7830 Discussions

Any plan to update -finstrument-function for __notify_intrinsic?

ryannewton
Beginner
217 Views

Now that the compiler supports the excellent __notify_intrinsic functionality, it would seem to make a lot of sense to provide an alternate version of the -finstrument-function compiler option.  Namely, -finstrument-function inserts additional *function calls* at the beginning and end of every compiled function, with the function implementations supplied by the user.  But it would be much more flexible (and cheaper) to insert notify intrinsics instead, allowing the user to decide when and how to instrument those functions, at load time or runtime.

0 Kudos
1 Reply
ryannewton
Beginner
217 Views

Oops, typo -- that should be "-finstrument-functions".  Including that here so search hopefully catches it.

0 Kudos
Reply