MCPcopy Create free account
hub / github.com/google/gapid / GetCommandId

Method GetCommandId

gapis/api/graph_visualization.go:82–87  ·  view source on GitHub ↗

GetCommandId returns the ID of the last level corresponding to the node ID.

()

Source from the content-addressed store, hash-verified

80// GetCommandId returns the ID of the last level
81// corresponding to the node ID.
82func (label *Label) GetCommandId() int {
83 if len(label.LevelsID) > 0 {
84 return label.LevelsID[len(label.LevelsID)-1]
85 }
86 return 0
87}
88
89// GetTopLevelName returns the name of the first level
90// corresponding to the top level in hierarchy.

Callers 2

getGraphInPbtxtFormatMethod · 0.80
TestLabelFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestLabelFunction · 0.64