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-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.zip(r-4.5-x86_64)
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 371 downloads 2 exports 1 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK98
linux-devel-x86_64OK122
source / vignettesOK211
linux-release-arm64OK91
linux-release-x86_64OK107
macos-release-arm64OK117
macos-release-x86_64OK174
macos-oldrel-arm64OK81
macos-oldrel-x86_64OK179
windows-devel-arm64ERROR213
windows-devel-x86_64OK116
windows-release-arm64ERROR189
windows-release-x86_64OK102
windows-oldrel-x86_64OK96
wasm-releaseOK93

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