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

Zoltan Varga vargaz at gmail.com
Fri Feb 18 14:01:23 EST 2011


  Not currently. You can add a wrapper shell script to your app and tell
people to use that
instead of using mono <app.exe>.


On Fri, Feb 18, 2011 at 7:54 PM, no.human.being
<qndre_encrypt at hotmail.com>wrote:

> 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.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110218/f3495382/attachment-0001.html 

More information about the Mono-devel-list mailing list