Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 328 DEFINE_bool(log_code, false, | 328 DEFINE_bool(log_code, false, |
| 329 "Log code events to the log file without profiling.") | 329 "Log code events to the log file without profiling.") |
| 330 DEFINE_bool(log_gc, false, | 330 DEFINE_bool(log_gc, false, |
| 331 "Log heap samples on garbage collection for the hp2ps tool.") | 331 "Log heap samples on garbage collection for the hp2ps tool.") |
| 332 DEFINE_bool(log_handles, false, "Log global handle events.") | 332 DEFINE_bool(log_handles, false, "Log global handle events.") |
| 333 DEFINE_bool(log_state_changes, false, "Log state changes.") | 333 DEFINE_bool(log_state_changes, false, "Log state changes.") |
| 334 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 334 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
| 335 DEFINE_bool(prof, false, | 335 DEFINE_bool(prof, false, |
| 336 "Log statistical profiling information (implies --log-code).") | 336 "Log statistical profiling information (implies --log-code).") |
| 337 DEFINE_bool(prof_auto, true, | 337 DEFINE_bool(prof_auto, true, |
| 338 "Used with --prof, starts profiling automatically") | 338 "Used with --prof, starts profiling automatically") |
|
Søren Thygesen Gjesse
2009/05/25 07:09:15
Do we need both --prof-auto and --prof-lazy. With
Mikhail Naganov
2009/05/25 08:23:43
Currently, we have several differences in results
| |
| 339 DEFINE_bool(prof_lazy, false, | |
| 340 "Used with --prof, only does sampling and logging" | |
| 341 " when profiler is active (implies --noprof_auto).") | |
| 339 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 342 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
| 340 DEFINE_bool(sliding_state_window, false, | 343 DEFINE_bool(sliding_state_window, false, |
| 341 "Update sliding state window counters.") | 344 "Update sliding state window counters.") |
| 342 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 345 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
| 343 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") | 346 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") |
| 344 | 347 |
| 345 // | 348 // |
| 346 // Heap protection flags | 349 // Heap protection flags |
| 347 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. | 350 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. |
| 348 // | 351 // |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 378 #undef FLAG | 381 #undef FLAG |
| 379 | 382 |
| 380 #undef DEFINE_bool | 383 #undef DEFINE_bool |
| 381 #undef DEFINE_int | 384 #undef DEFINE_int |
| 382 #undef DEFINE_string | 385 #undef DEFINE_string |
| 383 | 386 |
| 384 #undef FLAG_MODE_DECLARE | 387 #undef FLAG_MODE_DECLARE |
| 385 #undef FLAG_MODE_DEFINE | 388 #undef FLAG_MODE_DEFINE |
| 386 #undef FLAG_MODE_DEFINE_DEFAULTS | 389 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 387 #undef FLAG_MODE_META | 390 #undef FLAG_MODE_META |
| OLD | NEW |