| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 // When the statistical profile is active, profiler_ | 344 // When the statistical profile is active, profiler_ |
| 345 // points to a Profiler, that handles collection | 345 // points to a Profiler, that handles collection |
| 346 // of samples. | 346 // of samples. |
| 347 Profiler* profiler_; | 347 Profiler* profiler_; |
| 348 | 348 |
| 349 // SlidingStateWindow instance keeping a sliding window of the most | 349 // SlidingStateWindow instance keeping a sliding window of the most |
| 350 // recent VM states. | 350 // recent VM states. |
| 351 SlidingStateWindow* sliding_state_window_; | 351 SlidingStateWindow* sliding_state_window_; |
| 352 | 352 |
| 353 // An array of log events names. | 353 // An array of log events names. |
| 354 const char** log_events_; | 354 const char* const* log_events_; |
| 355 | 355 |
| 356 // An instance of helper created if log compression is enabled. | 356 // An instance of helper created if log compression is enabled. |
| 357 CompressionHelper* compression_helper_; | 357 CompressionHelper* compression_helper_; |
| 358 | 358 |
| 359 // Internal implementation classes with access to | 359 // Internal implementation classes with access to |
| 360 // private members. | 360 // private members. |
| 361 friend class CompressionHelper; | 361 friend class CompressionHelper; |
| 362 friend class EventLog; | 362 friend class EventLog; |
| 363 friend class Isolate; | 363 friend class Isolate; |
| 364 friend class LogMessageBuilder; | 364 friend class LogMessageBuilder; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 // Class that extracts stack trace, used for profiling. | 402 // Class that extracts stack trace, used for profiling. |
| 403 class StackTracer : public AllStatic { | 403 class StackTracer : public AllStatic { |
| 404 public: | 404 public: |
| 405 static void Trace(TickSample* sample); | 405 static void Trace(TickSample* sample); |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 409 | 409 |
| 410 | 410 |
| 411 #endif // V8_LOG_H_ | 411 #endif // V8_LOG_H_ |
| OLD | NEW |