diff options
| author | Maxime Dénès | 2017-08-29 17:13:03 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-08-29 17:13:03 +0200 |
| commit | f1806ab001cfbc9548e607397fc55b9c1be7c25b (patch) | |
| tree | 9a14f5bc56e4ad19b977f6606ff86d86d8d892d7 /vernac | |
| parent | f67ebbba77998e6469ad0fc9dc80b306ab2e62ce (diff) | |
| parent | c62a286bad2ec0ced1e7b5e8987f5f7e476ab11c (diff) | |
Merge PR #950: Rudimentary support for native_compute profiling, BZ#5170
Diffstat (limited to 'vernac')
| -rw-r--r-- | vernac/vernacentries.ml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml index 4f63ed6f48..8738e58e82 100644 --- a/vernac/vernacentries.ml +++ b/vernac/vernacentries.ml @@ -1457,6 +1457,22 @@ let _ = optread = CWarnings.get_flags; optwrite = CWarnings.set_flags } +let _ = + declare_string_option + { optdepr = false; + optname = "native_compute profiler output"; + optkey = ["NativeCompute"; "Profile"; "Filename"]; + optread = Nativenorm.get_profile_filename; + optwrite = Nativenorm.set_profile_filename } + +let _ = + declare_bool_option + { optdepr = false; + optname = "enable native compute profiling"; + optkey = ["NativeCompute"; "Profiling"]; + optread = Nativenorm.get_profiling_enabled; + optwrite = Nativenorm.set_profiling_enabled } + let vernac_set_strategy locality l = let local = make_locality locality in let glob_ref r = |
