Re: [Rd] profiling C code

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Tue 21 Feb 2006 - 03:23:47 GMT


The last time I tried I didn't have much luck. The gprof manual I could find seems to indicate that it can not profile code that are dynamically loaded. (I was trying on Linux.) The R source seems to hint otherwise. I'd very much appreciate pointers as well.

Andy

From: Ross Boylan
>
> Does anyone have any advice about profiling C/C++ code in a package
> under R? Does R need to be built specially for this to work?
>
> The FAQ has some entries about profiling but they cover R level
> profiling; I'm try to get at the C++ code I've written that is called
> from R.
>
> Primary target is Mac OS X.
>
> Thanks.
>
> Ross Boylan
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Feb 21 14:27:11 2006

This archive was generated by hypermail 2.1.8 : Tue 21 Feb 2006 - 22:34:55 GMT