aboutsummaryrefslogtreecommitdiffstats
path: root/extraction
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 12:36:24 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 12:36:24 +0200
commit3c30567c452f030267d0fb09465adf8d7b44a90d (patch)
tree59d1eb891066a97580d83b60cdb160030d5ae114 /extraction
parent1972df30827022dcb39110cddf9032eaa3dc61b9 (diff)
downloadcompcert-kvx-3c30567c452f030267d0fb09465adf8d7b44a90d.tar.gz
compcert-kvx-3c30567c452f030267d0fb09465adf8d7b44a90d.zip
installed Profiling (not finished)
Diffstat (limited to 'extraction')
-rw-r--r--extraction/extraction.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/extraction/extraction.v b/extraction/extraction.v
index 9b568951..c2b5d83e 100644
--- a/extraction/extraction.v
+++ b/extraction/extraction.v
@@ -137,6 +137,8 @@ Extract Constant Compopts.va_strict =>
"fun _ -> false".
Extract Constant Compopts.all_loads_nontrap =>
"fun _ -> !Clflags.option_all_loads_nontrap".
+Extract Constant Compopts.profile_arcs =>
+ "fun _ -> !Clflags.option_profile_arcs".
(* Compiler *)
Extract Constant Compiler.print_Clight => "PrintClight.print_if".
@@ -147,9 +149,12 @@ Extract Constant Compiler.print_Mach => "PrintMach.print_if".
Extract Constant Compiler.print => "fun (f: 'a -> unit) (x: 'a) -> f x; x".
Extract Constant Compiler.time => "Timing.time_coq".
Extract Constant Compopts.time => "Timing.time_coq".
-
(*Extraction Inline Compiler.apply_total Compiler.apply_partial.*)
+(* Profiling *)
+Extract Constant Profiling.function_id => "Profilingaux.function_id".
+Extract Constant Profiling.branch_id => "Profilingaux.branch_id".
+
(* Cabs *)
Extract Constant Cabs.loc =>
"{ lineno : int;