| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 private: | 110 private: |
| 111 unsigned call_uid_; | 111 unsigned call_uid_; |
| 112 Logger::LogEventsAndTags tag_; | 112 Logger::LogEventsAndTags tag_; |
| 113 const char* name_prefix_; | 113 const char* name_prefix_; |
| 114 const char* name_; | 114 const char* name_; |
| 115 const char* resource_name_; | 115 const char* resource_name_; |
| 116 int line_number_; | 116 int line_number_; |
| 117 int security_token_id_; | 117 int security_token_id_; |
| 118 | 118 |
| 119 static unsigned next_call_uid_; | |
| 120 | |
| 121 DISALLOW_COPY_AND_ASSIGN(CodeEntry); | 119 DISALLOW_COPY_AND_ASSIGN(CodeEntry); |
| 122 }; | 120 }; |
| 123 | 121 |
| 124 | 122 |
| 125 class ProfileTree; | 123 class ProfileTree; |
| 126 | 124 |
| 127 class ProfileNode { | 125 class ProfileNode { |
| 128 public: | 126 public: |
| 129 INLINE(ProfileNode(ProfileTree* tree, CodeEntry* entry)); | 127 INLINE(ProfileNode(ProfileTree* tree, CodeEntry* entry)); |
| 130 | 128 |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 HeapSnapshot* snapshot_; | 721 HeapSnapshot* snapshot_; |
| 724 | 722 |
| 725 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); | 723 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); |
| 726 }; | 724 }; |
| 727 | 725 |
| 728 } } // namespace v8::internal | 726 } } // namespace v8::internal |
| 729 | 727 |
| 730 #endif // ENABLE_LOGGING_AND_PROFILING | 728 #endif // ENABLE_LOGGING_AND_PROFILING |
| 731 | 729 |
| 732 #endif // V8_PROFILE_GENERATOR_H_ | 730 #endif // V8_PROFILE_GENERATOR_H_ |
| OLD | NEW |