Package: rcpptimer 1.2.1

Jonathan Berrisch

rcpptimer: 'Rcpp' Tic-Toc Timer with 'OpenMP' Support

Provides 'Rcpp' bindings for 'cpptimer', a simple tic-toc timer class for benchmarking 'C++' code <https://github.com/BerriJ/cpptimer>. It's not just simple, it's blazing fast! This sleek tic-toc timer class supports overlapping timers as well as 'OpenMP' parallelism <https://www.openmp.org/>. It boasts a nanosecond-level time resolution. We did not find any overhead of the timer itself at this resolution. Results (with summary statistics) are automatically passed back to 'R' as a data frame.

Authors:Jonathan Berrisch [aut, cre]

rcpptimer_1.2.1.tar.gz
rcpptimer_1.2.1.tar.gz(r-4.5-noble)rcpptimer_1.2.1.tar.gz(r-4.4-noble)
rcpptimer_1.2.1.tgz(r-4.4-emscripten)rcpptimer_1.2.1.tgz(r-4.3-emscripten)
rcpptimer.pdf |rcpptimer.html
rcpptimer/json (API)
NEWS

# Install 'rcpptimer' in R:
install.packages('rcpptimer', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/berrij/rcpptimer/issues

Pkgdown site:https://rcpptimer.berrisch.biz

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

cppopenmp

4.48 score 1 packages 1 scripts 355 downloads 2 exports 1 dependencies

Last updated 3 months agofrom:d0d7786cb7. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-linux-x86_64OKDec 22 2024

Exports:fibonaccifibonacci_omp

Dependencies:Rcpp

A Short Introduction to rcpptimer

Rendered fromrcpptimer.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-23
Started: 2024-03-21

Adding rcpptimer to a Package

Rendered frompackages.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-21
Started: 2024-09-21

Advanced Usage of rcpptimer

Rendered fromadvanced.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-21
Started: 2024-09-21

Automatic and Manual Return of the Timings

Rendered fromautoreturn.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-21
Started: 2024-09-21

Using rcpptimer with Rcpp::sourceCpp

Rendered fromsourceCpp.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-21
Started: 2024-09-21