Package: rcpptimer 1.2.1

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.zip(r-4.5)rcpptimer_1.2.1.zip(r-4.4)rcpptimer_1.2.1.zip(r-4.3)
rcpptimer_1.2.1.tgz(r-4.4-x86_64)rcpptimer_1.2.1.tgz(r-4.4-arm64)rcpptimer_1.2.1.tgz(r-4.3-x86_64)rcpptimer_1.2.1.tgz(r-4.3-arm64)
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://berrij.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

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

On CRAN:

benchmarkingcpprcpp

5.57 score 1 packages 1 scripts 267 downloads 2 exports 1 dependencies

Last updated 2 months agofrom:35ca024900. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64OKNov 21 2024
R-4.5-linux-x86_64OKNov 21 2024
R-4.4-win-x86_64OKNov 21 2024
R-4.4-mac-x86_64OKNov 21 2024
R-4.4-mac-aarch64OKNov 21 2024
R-4.3-win-x86_64OKNov 21 2024
R-4.3-mac-x86_64OKNov 21 2024
R-4.3-mac-aarch64OKNov 21 2024

Exports:fibonaccifibonacci_omp

Dependencies:Rcpp

A Short Introduction to rcpptimer

Rendered fromrcpptimer.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-22
Started: 2024-03-20

Adding rcpptimer to a Package

Rendered frompackages.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-19
Started: 2024-09-19

Advanced Usage of rcpptimer

Rendered fromadvanced.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-19
Started: 2024-09-19

Automatic and Manual Return of the Timings

Rendered fromautoreturn.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-19
Started: 2024-09-19

Using rcpptimer with Rcpp::sourceCpp

Rendered fromsourceCpp.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-19
Started: 2024-09-19