Henrik Bengtsson
2014-Nov-23 01:41 UTC
[Rd] Rprof(..., memory.profiling=TRUE) to profile C memory allocation?
Could someone please confirm/refute that Rprof(..., memory.profiling=TRUE) can also be used to profile memory allocation done in a C function (src/*.c) that uses, e.g. allocVector(INTSXP, n) but also allocations such as R_alloc(n, sizeof(int)) ? Modulo how R was built, does the answer depend on OS? I'm interested in all the major ones (Linux, OS X and Windows). Thanks, Henrik