typedef uint32_t SnapshotObjectId;
+typedef struct {
+ /** The 1-based number of the source line where the function originates. */
+ unsigned int line;
+
+ /** The count of samples associated with the source line. */
+ unsigned int ticks;
+} LineTick;
+
/**
* CpuProfileNode represents a node in a call graph.
*/
*/
int GetColumnNumber() const;
+ /**
+ * Returns the number of the function's source lines that collect the samples.
+ */
+ unsigned int GetHitLineCount() const;
+
+ /** Returns the set of source lines that collect the samples.
+ * The caller allocates buffer and responsible for releasing it.
+ * True if all available entries are copied, otherwise false.
+ */
+ bool GetLineTicks(LineTick* entries, unsigned int number) const;
+
/** Returns bailout reason for the function
* if the optimization was disabled for it.
*/