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.zip(r-4.7-x86_64)rcpptimer_1.2.1.zip(r-4.7-arm64)rcpptimer_1.2.1.zip(r-4.6-x86_64)rcpptimer_1.2.1.zip(r-4.6-arm64)
rcpptimer_1.2.1.tar.gz(r-4.7-arm64)rcpptimer_1.2.1.tar.gz(r-4.7-x86_64)rcpptimer_1.2.1.tar.gz(r-4.6-arm64)rcpptimer_1.2.1.tar.gz(r-4.6-x86_64)
rcpptimer_1.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rcpptimer/json (API)

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

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

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

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

On CRAN:

Conda:

cppopenmp

3.88 score 1 packages 1 scripts 348 downloads 2 exports 1 dependencies

Last updated from:d0d7786cb7. Checks:8 OK, 2 ERROR. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK555
linux-devel-x86_64OK481
source / vignettesOK571
linux-release-arm64OK114
linux-release-x86_64OK154
windows-devel-arm64ERROR226
windows-devel-x86_64OK117
windows-release-arm64ERROR206
windows-release-x86_64OK106
wasm-releaseOK111

Exports:fibonaccifibonacci_omp

Dependencies:Rcpp

A Short Introduction to rcpptimer
Initialize a Timer | Straightforward Example | Multiple Timers | Timing Scopes with Rcpp::Timer::ScopedTimer | Warnings and how to Disable them

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

Adding rcpptimer to a Package
Adding rcpptimer to your Package | Autoreturn | Reexport Print Method

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

Advanced Usage of rcpptimer
Accessing Unprocessed Data | Updating the Results | Resetting the Timer

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

Automatic and Manual Return of the Timings
Assign a Custom Name to the Timings Object | Manually Handling the Results | Considerations for package authors

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

Using rcpptimer with Rcpp::sourceCpp

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