Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 27b3c6def3f5431d95e524f8a6cfbccc91f4524b..cac98e8ab48f9d4f474acf4a032387500e5cea5c 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -476,12 +476,18 @@ class V8EXPORT RetainedObjectInfo { // NOLINT |
virtual intptr_t GetHash() = 0; |
/** |
- * Returns human-readable label. It must be a NUL-terminated UTF-8 |
+ * Returns human-readable label. It must be a NULL-terminated UTF-8 |
mnaganov (inactive)
2012/01/27 09:53:17
Let's change it to "null-terminated" then: http://
|
* encoded string. V8 copies its contents during a call to GetLabel. |
*/ |
virtual const char* GetLabel() = 0; |
/** |
+ * Returns human-readable group label. It must be a NULL-terminated UTF-8 |
+ * encoded string. V8 copies its contents during a call to GetGroupLabel. |
mnaganov (inactive)
2012/01/27 09:53:17
Please elaborate more on this -- what's the differ
|
+ */ |
+ virtual const char* GetGroupLabel() { return GetLabel(); } |
+ |
+ /** |
* Returns element count in case if a global handle retains |
* a subgraph by holding one of its nodes. |
*/ |