| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #ifndef V8_CPU_PROFILER_INL_H_ | 28 #ifndef V8_CPU_PROFILER_INL_H_ |
| 29 #define V8_CPU_PROFILER_INL_H_ | 29 #define V8_CPU_PROFILER_INL_H_ |
| 30 | 30 |
| 31 #include "cpu-profiler.h" | 31 #include "cpu-profiler.h" |
| 32 | 32 |
| 33 #ifdef ENABLE_LOGGING_AND_PROFILING | 33 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 34 | 34 |
| 35 #include "circular-queue-inl.h" | 35 #include "circular-queue-inl.h" |
| 36 #include "profile-generator-inl.h" | 36 #include "profile-generator-inl.h" |
| 37 #include "unbound-queue-inl.h" |
| 37 | 38 |
| 38 namespace v8 { | 39 namespace v8 { |
| 39 namespace internal { | 40 namespace internal { |
| 40 | 41 |
| 41 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { | 42 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { |
| 42 code_map->AddCode(start, entry, size); | 43 code_map->AddCode(start, entry, size); |
| 43 } | 44 } |
| 44 | 45 |
| 45 | 46 |
| 46 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { | 47 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 && tag != Logger::FUNCTION_TAG | 91 && tag != Logger::FUNCTION_TAG |
| 91 && tag != Logger::LAZY_COMPILE_TAG | 92 && tag != Logger::LAZY_COMPILE_TAG |
| 92 && tag != Logger::SCRIPT_TAG); | 93 && tag != Logger::SCRIPT_TAG); |
| 93 } | 94 } |
| 94 | 95 |
| 95 } } // namespace v8::internal | 96 } } // namespace v8::internal |
| 96 | 97 |
| 97 #endif // ENABLE_LOGGING_AND_PROFILING | 98 #endif // ENABLE_LOGGING_AND_PROFILING |
| 98 | 99 |
| 99 #endif // V8_CPU_PROFILER_INL_H_ | 100 #endif // V8_CPU_PROFILER_INL_H_ |
| OLD | NEW |