forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathV8RuntimeHeapInfo.cs
More file actions
50 lines (42 loc) · 1.43 KB
/
V8RuntimeHeapInfo.cs
File metadata and controls
50 lines (42 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.ClearScript.V8
{
/// <summary>
/// Contains memory usage information for a V8 runtime.
/// </summary>
public class V8RuntimeHeapInfo
{
internal V8RuntimeHeapInfo()
{
}
/// <summary>
/// Gets the total heap size in bytes.
/// </summary>
public ulong TotalHeapSize { get; internal set; }
/// <summary>
/// Gets the total executable heap size in bytes.
/// </summary>
public ulong TotalHeapSizeExecutable { get; internal set; }
/// <summary>
/// Gets the total physical memory size in bytes.
/// </summary>
public ulong TotalPhysicalSize { get; internal set; }
/// <summary>
/// Gets the total available memory size in bytes.
/// </summary>
public ulong TotalAvailableSize { get; internal set; }
/// <summary>
/// Gets the used heap size in bytes.
/// </summary>
public ulong UsedHeapSize { get; internal set; }
/// <summary>
/// Gets the heap size limit in bytes.
/// </summary>
public ulong HeapSizeLimit { get; internal set; }
/// <summary>
/// Gets the total external memory size in bytes.
/// </summary>
public ulong TotalExternalSize { get; internal set; }
}
}