| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 friend class Profiler; | 394 friend class Profiler; |
| 395 friend class SlidingStateWindow; | 395 friend class SlidingStateWindow; |
| 396 friend class StackTracer; | 396 friend class StackTracer; |
| 397 friend class VMState; | 397 friend class VMState; |
| 398 | 398 |
| 399 friend class LoggerTestHelper; | 399 friend class LoggerTestHelper; |
| 400 | 400 |
| 401 | 401 |
| 402 int logging_nesting_; | 402 int logging_nesting_; |
| 403 int cpu_profiler_nesting_; | 403 int cpu_profiler_nesting_; |
| 404 int heap_profiler_nesting_; | |
| 405 | 404 |
| 406 Log* log_; | 405 Log* log_; |
| 407 | 406 |
| 408 NameBuffer* name_buffer_; | 407 NameBuffer* name_buffer_; |
| 409 | 408 |
| 410 NameMap* address_to_name_map_; | 409 NameMap* address_to_name_map_; |
| 411 | 410 |
| 412 // Guards against multiple calls to TearDown() that can happen in some tests. | 411 // Guards against multiple calls to TearDown() that can happen in some tests. |
| 413 // 'true' between Setup() and TearDown(). | 412 // 'true' between Setup() and TearDown(). |
| 414 bool is_initialized_; | 413 bool is_initialized_; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 // Class that extracts stack trace, used for profiling. | 466 // Class that extracts stack trace, used for profiling. |
| 468 class StackTracer : public AllStatic { | 467 class StackTracer : public AllStatic { |
| 469 public: | 468 public: |
| 470 static void Trace(Isolate* isolate, TickSample* sample); | 469 static void Trace(Isolate* isolate, TickSample* sample); |
| 471 }; | 470 }; |
| 472 | 471 |
| 473 } } // namespace v8::internal | 472 } } // namespace v8::internal |
| 474 | 473 |
| 475 | 474 |
| 476 #endif // V8_LOG_H_ | 475 #endif // V8_LOG_H_ |
| OLD | NEW |