Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
overhead.r File Reference

Go to the source code of this file.

Functions

set seed (42) a<-rnorm(100) b<-rnorm(100) dyn.load("overhead_1.so") dyn.load("overhead_2.so") overhead_c_symbol<-getNativeSymbolInfo("overhead_c") overhead_cpp_symbol<-getNativeSymbolInfo("overhead_cpp") overhead_c<-function(a
set b Call (overhead_c_symbol, a, b) overhead_cpp<-function(a
set b b Call (overhead_cpp_symbol, a, b) suppressMessages(library(rbenchmark)) benchmark(overhead_cpp(a
set b b overhead_c (a, b)

Variables

set b b b
set b b columns = c("test", "replications", "elapsed", "relative", "user.self", "sys.self")
set b b order = "relative"

Function Documentation

set b Call ( overhead_c_symbol  ,
a  ,
b   
)
set b b Call ( overhead_cpp_symbol  ,
a  ,
b   
)
set b b overhead_c ( a  ,
b   
)

Referenced by R_init_overhead_2().

Variable Documentation

set b b columns = c("test", "replications", "elapsed", "relative", "user.self", "sys.self")
Examples:
ConvolveBenchmarks/exampleRCode.r, Misc/fibonacci.r, and RcppGibbs/RcppGibbs.R.

Definition at line 25 of file overhead.r.

Referenced by require().

set b b order = "relative"
Examples:
ConvolveBenchmarks/exampleRCode.r, Misc/fibonacci.r, and RcppGibbs/RcppGibbs.R.

Definition at line 26 of file overhead.r.

Referenced by require().