HolyLib Wiki

VProfNode:GetSubNode

 VProfNode VProfNode:GetSubNode( string name, number detailLevel, string budgetGroup )

Description

Returns or creates a node with the given data.

The scope name is permanently allocated and only freed when vprof.Term is called.
Use a consistent scope name if you don't want to have memory leaks.

Arguments

1string name

scope name

2number detailLevel

detail level

3string budgetGroup

budget group name

Returns

1VProfNode node