Update c++ snippet

This commit is contained in:
2025-06-24 14:53:38 +02:00
parent ecff3e485a
commit 065f2fa142
2 changed files with 386 additions and 384 deletions

View File

@@ -713,9 +713,10 @@ Supports OpenMP parallelism
//[[Rcpp::depends(rcpptimer)]]
#include <rcpptimer.h>
void main(){
//[[Rcpp::export]]
void ex()
{
Rcpp::Timer timer;
timer.tic();
// Code to be timed
timer.toc();