Message-ID: <CAFDcVCSV1BXP53PBrU1TFANtLF5CXqpVG8W_P5kJrSg1u-cu-A@mail.gmail.com>
Date: 2014-11-23T01:41:25Z
From: Henrik Bengtsson
Subject: 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