Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » Best way to inline target-specific code?
Best way to inline target-specific code? [message #490644] Fri, 09 October 2009 10:59 Go to previous message
Brian Cruickshank is currently offline Brian Cruickshank
Messages: 19
Registered: September 2009
Junior Member
I am trying to write some platform independent code that can be configured to take advantage of some target-specific features when it is run on an appropriate target.

I've looked at the way the xdc.runtime.Timestamp module uses a proxy to access target-specific timer values, and noticed that there is a fair bit of overhead involved in calling the proxy unless you turn on whole_program optimization.

Is there a way to either use a macro to implement the proxy or to tell the compiler to always inline such code in order to avoid the overhead associated with calling the proxy method?
 
Read Message
Read Message
Read Message
Previous Topic:whole_program compilation failure - invalid intermediate file (ti.targets.rts6000.a64P)
Next Topic:instance$static$init not getting called
Goto Forum:
  


Current Time: Wed May 22 05:15:18 EDT 2013

Powered by FUDForum. Page generated in 0.01730 seconds