Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: src/flag-definitions.h

Issue 9373028: Initial support for count-based profiling (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/execution.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 163 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
164 DEFINE_int(stress_runs, 0, "number of stress runs") 164 DEFINE_int(stress_runs, 0, "number of stress runs")
165 DEFINE_bool(optimize_closures, true, "optimize closures") 165 DEFINE_bool(optimize_closures, true, "optimize closures")
166 DEFINE_int(loop_weight, 1, "loop weight for representation inference") 166 DEFINE_int(loop_weight, 1, "loop weight for representation inference")
167 167
168 // Experimental profiler changes. 168 // Experimental profiler changes.
169 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") 169 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments")
170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") 170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability")
171 DEFINE_bool(self_optimization, false, 171 DEFINE_bool(self_optimization, false,
172 "primitive functions trigger their own optimization") 172 "primitive functions trigger their own optimization")
173 DEFINE_bool(count_based_interrupts, false,
174 "trigger profiler ticks based on counting instead of timing")
175 DEFINE_bool(weighted_back_edges, false,
176 "weight back edges by jump distance for interrupt triggering")
177 DEFINE_int(interrupt_budget, 100,
178 "execution budget before interrupt is triggered")
173 179
174 DEFINE_implication(experimental_profiler, watch_ic_patching) 180 DEFINE_implication(experimental_profiler, watch_ic_patching)
175 DEFINE_implication(experimental_profiler, self_optimization) 181 DEFINE_implication(experimental_profiler, self_optimization)
182 DEFINE_implication(experimental_profiler, count_based_interrupts)
176 183
177 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc 184 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
178 DEFINE_bool(debug_code, false, 185 DEFINE_bool(debug_code, false,
179 "generate extra code (assertions) for debugging") 186 "generate extra code (assertions) for debugging")
180 DEFINE_bool(code_comments, false, "emit comments in code disassembly") 187 DEFINE_bool(code_comments, false, "emit comments in code disassembly")
181 DEFINE_bool(enable_sse2, true, 188 DEFINE_bool(enable_sse2, true,
182 "enable use of SSE2 instructions if available") 189 "enable use of SSE2 instructions if available")
183 DEFINE_bool(enable_sse3, true, 190 DEFINE_bool(enable_sse3, true,
184 "enable use of SSE3 instructions if available") 191 "enable use of SSE3 instructions if available")
185 DEFINE_bool(enable_sse4_1, true, 192 DEFINE_bool(enable_sse4_1, true,
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 #undef DEFINE_bool 576 #undef DEFINE_bool
570 #undef DEFINE_int 577 #undef DEFINE_int
571 #undef DEFINE_string 578 #undef DEFINE_string
572 #undef DEFINE_implication 579 #undef DEFINE_implication
573 580
574 #undef FLAG_MODE_DECLARE 581 #undef FLAG_MODE_DECLARE
575 #undef FLAG_MODE_DEFINE 582 #undef FLAG_MODE_DEFINE
576 #undef FLAG_MODE_DEFINE_DEFAULTS 583 #undef FLAG_MODE_DEFINE_DEFAULTS
577 #undef FLAG_MODE_META 584 #undef FLAG_MODE_META
578 #undef FLAG_MODE_DEFINE_IMPLICATIONS 585 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698