ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Methods
BeginCpuProfile Method
CancelAwaitDebugger Method
CancelInterrupt Method
CollectCpuProfileSample Method
CollectGarbage Method
Compile Method
CompileDocument Method
Dispose Method
EndCpuProfile Method
Evaluate Method
Execute Method
ExecuteCommand Method
GetRuntimeHeapInfo Method
GetStackTrace Method
Interrupt Method
WriteRuntimeHeapSnapshot Method

# V8ScriptEngineEndCpuProfile Method

Completes and returns a CPU profile.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public V8CpuProfile EndCpuProfile(
    	string name
    )

    Public Function EndCpuProfile (
    	name As String
    ) As V8CpuProfile

    public:
    V8CpuProfile^ EndCpuProfile(
    	String^ name
    )

    member EndCpuProfile :
            name : string -> V8CpuProfile

#### Parameters

name String
  The name of the profile.

#### Return Value

V8CpuProfile
The profile if it was found and completed successfully, null otherwise.
Remarks
An empty name argument selects the most recently created CPU profile.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft