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

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

Issue 10857035: Moving cpu profiling into its own thread. (Closed) Base URL: http://git.chromium.org/external/v8.git@master
Patch Set: added a flag to set sampling rate Created 8 years, 4 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
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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 DEFINE_bool(trace_bailout, false, 325 DEFINE_bool(trace_bailout, false,
326 "print reasons for falling back to using the classic V8 backend") 326 "print reasons for falling back to using the classic V8 backend")
327 DEFINE_int(max_opt_count, 10, 327 DEFINE_int(max_opt_count, 10,
328 "maximum number of optimization attempts before giving up.") 328 "maximum number of optimization attempts before giving up.")
329 329
330 // compilation-cache.cc 330 // compilation-cache.cc
331 DEFINE_bool(compilation_cache, true, "enable compilation cache") 331 DEFINE_bool(compilation_cache, true, "enable compilation cache")
332 332
333 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") 333 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions")
334 334
335 // cpu-profiler.cc
336 DEFINE_int(cpu_profiler_sampling_interval, 1000, "CPU profiler sampling interval in microseconds")
337
335 // debug.cc 338 // debug.cc
336 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") 339 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response")
337 DEFINE_bool(debugger_auto_break, true, 340 DEFINE_bool(debugger_auto_break, true,
338 "automatically set the debug break flag when debugger commands are " 341 "automatically set the debug break flag when debugger commands are "
339 "in the queue") 342 "in the queue")
340 DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature") 343 DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature")
341 DEFINE_bool(break_on_abort, true, "always cause a debug break before aborting") 344 DEFINE_bool(break_on_abort, true, "always cause a debug break before aborting")
342 345
343 // execution.cc 346 // execution.cc
344 // Slightly less than 1MB on 64-bit, since Windows' default stack size for 347 // Slightly less than 1MB on 64-bit, since Windows' default stack size for
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 #undef DEFINE_bool 690 #undef DEFINE_bool
688 #undef DEFINE_int 691 #undef DEFINE_int
689 #undef DEFINE_string 692 #undef DEFINE_string
690 #undef DEFINE_implication 693 #undef DEFINE_implication
691 694
692 #undef FLAG_MODE_DECLARE 695 #undef FLAG_MODE_DECLARE
693 #undef FLAG_MODE_DEFINE 696 #undef FLAG_MODE_DEFINE
694 #undef FLAG_MODE_DEFINE_DEFAULTS 697 #undef FLAG_MODE_DEFINE_DEFAULTS
695 #undef FLAG_MODE_META 698 #undef FLAG_MODE_META
696 #undef FLAG_MODE_DEFINE_IMPLICATIONS 699 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/cpu-profiler.cc ('k') | src/platform.h » ('j') | src/platform-linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698