Click or drag to resize

V8ScriptEngineBeginCpuProfile(String, V8CpuProfileFlags) Method

Begins collecting a new CPU profile with the specified options.

Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax
public bool BeginCpuProfile(
	string name,
	V8CpuProfileFlags flags
)

Parameters

name  String
A name for the profile.
flags  V8CpuProfileFlags
Options for creating the profile.

Return Value

Boolean
True if the profile was created successfully, false otherwise.
Remarks
A V8 script engine can collect multiple CPU profiles simultaneously.
See Also