[Mono-dev] Detect whether application is running on LLVM

no.human.being qndre_encrypt at hotmail.com
Fri Feb 18 13:54:00 EST 2011


Hello Mono-Devs!

I am currently developing a long-running, computationally-intensive server
application for distributed-computing. Now, obviously, this is an
application which should be run using "mono --llvm" for performance reasons
(application is performing computationally bound number-crunching tasks,
startup delay is insignificant).

Now I would like to detect, whether the application is running on LLVM or
"straight mono" and display a "nag message" to remind the user that he will
contribute more computing power by using the LLVM backend to execute his
worker. Of course, this message should only be displayed when he the LLVM
backend is not used.

Is there any reliable way to detect whether LLVM or the "default JIT
backend" is used?

Thanks,
Andre

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Detect-whether-application-is-running-on-LLVM-tp3313342p3313342.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list