getCXTUResourceUsage | R Documentation |
This function gets information about the different resources and how many of each parsing a translation unit consumed. These include items such as different types of memory, the number of expressions, etc.
getCXTUResourceUsage(tu)
tu |
the |
a numeric vector with named elements describing the resources and how much of that resource was used.
Duncan Temple Lang
libclang http://clang.llvm.org/doxygen/group__CINDEX.html
getCursorTranslationUnit
f = system.file("exampleCode", "fib.c", package = "RCIndex")
tu = createTU(f)
getCXTUResourceUsage(tu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.