Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

23 instrument the code for profiling #24

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

m-murphy
Copy link
Member

@m-murphy m-murphy commented Jul 1, 2024

No description provided.

- Added start_profiler function to R/RcppExports.R
- Added stop_profiler function to R/RcppExports.R
- Modified src/Makevars to include ENABLE_PROFILER flag and link with -lprofiler
- Added start_profiler and stop_profiler functions to src/RcppExports.cpp
- Created new file src/profiler.cpp containing the implementation of start_profiler and stop_profiler functions
@m-murphy m-murphy linked an issue Jul 1, 2024 that may be closed by this pull request
@m-murphy m-murphy changed the base branch from master to dev July 1, 2024 23:04
@m-murphy m-murphy merged commit d9c5372 into dev Jul 2, 2024
5 checks passed
@m-murphy m-murphy deleted the 23-instrument-the-code-for-profiling branch July 2, 2024 00:41
m-murphy added a commit that referenced this pull request Aug 1, 2024
* implement logging of latent genotypes (#14)

* Fix NA values in allele frequency vector (#20)

The code now checks for NA values in the allele frequency vector and replaces them with 0. A warning message is displayed if NA values are detected, indicating a potential problem with the MCMC chain or loci with no diversity.

* Add start_profiler and stop_profiler functions (#24)

- Added start_profiler function to R/RcppExports.R
- Added stop_profiler function to R/RcppExports.R
- Modified src/Makevars to include ENABLE_PROFILER flag and link with -lprofiler
- Added start_profiler and stop_profiler functions to src/RcppExports.cpp
- Created new file src/profiler.cpp containing the implementation of start_profiler and stop_profiler functions

* restore accidentally removed openmp library to compilation

* Add new datasets namibia_data and regional_allele_frequencies. Update vignette with code to use the new datasets. (#27)

Add new datasets namibia_data and regional_allele_frequencies. Update vignette with code to use the new datasets.

- Added new datasets namibia_data and regional_allele_frequencies.
- Updated vignette with code to use the new datasets.

* minor update documentation

* fix typo in Namibia vignette

* minor cleanup

* update documentation

* Increment version number to 3.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

instrument the code for profiling
1 participant