V8RuntimeBeginCpuProfile Method (String) |
Begins collecting a new CPU profile.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.3
Syntaxpublic bool BeginCpuProfile(
string name
)
Public Function BeginCpuProfile (
name As String
) As Boolean
public:
bool BeginCpuProfile(
String^ name
)
member BeginCpuProfile :
name : string -> bool
Parameters
- name
- Type: SystemString
A name for the profile.
Return Value
Type:
BooleanTrue if the profile was created successfully,
false otherwise.
Remarks
A V8 runtime can collect multiple CPU profiles simultaneously.
See Also