| OLD | NEW | 
|    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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  459   // An array of log events names. |  459   // An array of log events names. | 
|  460   const char* const* log_events_; |  460   const char* const* log_events_; | 
|  461  |  461  | 
|  462   // Internal implementation classes with access to |  462   // Internal implementation classes with access to | 
|  463   // private members. |  463   // private members. | 
|  464   friend class EventLog; |  464   friend class EventLog; | 
|  465   friend class Isolate; |  465   friend class Isolate; | 
|  466   friend class LogMessageBuilder; |  466   friend class LogMessageBuilder; | 
|  467   friend class TimeLog; |  467   friend class TimeLog; | 
|  468   friend class Profiler; |  468   friend class Profiler; | 
|  469   friend class StackTracer; |  | 
|  470   friend class VMState; |  469   friend class VMState; | 
|  471  |  470  | 
|  472   friend class LoggerTestHelper; |  471   friend class LoggerTestHelper; | 
|  473  |  472  | 
|  474  |  473  | 
|  475   int logging_nesting_; |  474   int logging_nesting_; | 
|  476   int cpu_profiler_nesting_; |  475   int cpu_profiler_nesting_; | 
|  477  |  476  | 
|  478   Log* log_; |  477   Log* log_; | 
|  479  |  478  | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  532   static bool ActiveSamplersExist() { |  531   static bool ActiveSamplersExist() { | 
|  533     return active_samplers_ != NULL && !active_samplers_->is_empty(); |  532     return active_samplers_ != NULL && !active_samplers_->is_empty(); | 
|  534   } |  533   } | 
|  535  |  534  | 
|  536   static List<Sampler*>* active_samplers_; |  535   static List<Sampler*>* active_samplers_; | 
|  537  |  536  | 
|  538   DISALLOW_IMPLICIT_CONSTRUCTORS(SamplerRegistry); |  537   DISALLOW_IMPLICIT_CONSTRUCTORS(SamplerRegistry); | 
|  539 }; |  538 }; | 
|  540  |  539  | 
|  541  |  540  | 
|  542 // Class that extracts stack trace, used for profiling. |  | 
|  543 class StackTracer : public AllStatic { |  | 
|  544  public: |  | 
|  545   static void Trace(Isolate* isolate, TickSample* sample); |  | 
|  546 }; |  | 
|  547  |  | 
|  548 } }  // namespace v8::internal |  541 } }  // namespace v8::internal | 
|  549  |  542  | 
|  550  |  543  | 
|  551 #endif  // V8_LOG_H_ |  544 #endif  // V8_LOG_H_ | 
| OLD | NEW |