Usage ¶
startPerformanceMonitorProfile(session
: hapi.Session, title
: str
) → int
Start a Houdini Performance Monitor profile.
A profile records time and memory statistics from events
that occur in the Houdini session. A profile records node cooks
for example; how long it takes to cook a node and how many times
a node is cooked. Return hapi.result.InvalidArgument if None
is passed in for the profile_id
parameter.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
title
The title of the profile. If None is passed into this parameter, then a default title will be chosen for the profile.
Returns profile_id as a int
.