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.7)rcpptimer_1.2.1.zip(r-4.6)rcpptimer_1.2.1.zip(r-4.5)
rcpptimer_1.2.1.tgz(r-4.6-x86_64)rcpptimer_1.2.1.tgz(r-4.6-arm64)rcpptimer_1.2.1.tgz(r-4.5-x86_64)rcpptimer_1.2.1.tgz(r-4.5-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://berrij.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:

benchmarkingcpprcppcppopenmp

4.88 score 1 stars 1 packages 1 scripts 345 downloads 2 exports 1 dependencies

Last updated from:35ca024900. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK147
linux-devel-x86_64OK136
source / vignettesOK286
linux-release-arm64OK139
linux-release-x86_64OK134
macos-release-arm64OK118
macos-release-x86_64OK161
macos-oldrel-arm64OK113
macos-oldrel-x86_64OK194
windows-develOK96
windows-releaseOK110
windows-oldrelOK163
wasm-releaseOK145

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-22
Started: 2024-03-20

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

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

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

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

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-19
Started: 2024-09-19

Using rcpptimer with Rcpp::sourceCpp

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