ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8Runtime Class
V8Runtime Methods
BeginCpuProfile Method
CollectCpuProfileSample Method
CollectGarbage Method
Compile Method
CompileDocument Method
CreateScriptEngine Method
Dispose Method
EndCpuProfile Method
GetHeapInfo Method
WriteHeapSnapshot Method

# V8RuntimeEndCpuProfile 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

V8Runtime Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft