Newer
Older
brewdente
committed
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
51
52
53
54
55
56
57
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Profiler
{
/// <summary>
/// CPU Profile node. Holds callsite information, execution statistics and child nodes.
/// </summary>
public class CPUProfileNode
{
/// <summary>
/// Gets or sets Function name.
/// </summary>
public string FunctionName { get; set; }
/// <summary>
/// Gets or sets Script identifier.
/// </summary>
public string ScriptId { get; set; }
/// <summary>
/// Gets or sets URL.
/// </summary>
public string Url { get; set; }
/// <summary>
/// Gets or sets 1-based line number of the function start position.
/// </summary>
public long LineNumber { get; set; }
/// <summary>
/// Gets or sets 1-based column number of the function start position.
/// </summary>
public long ColumnNumber { get; set; }
/// <summary>
/// Gets or sets Number of samples where this node was on top of the call stack.
/// </summary>
public long HitCount { get; set; }
/// <summary>
/// Gets or sets Call UID.
/// </summary>
public double CallUID { get; set; }
/// <summary>
/// Gets or sets Child nodes.
/// </summary>
public CPUProfileNode[] Children { get; set; }
/// <summary>
/// Gets or sets The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
/// </summary>
public string DeoptReason { get; set; }
/// <summary>
/// Gets or sets Unique id of the node.
/// </summary>
public long Id { get; set; }
/// <summary>
/// Gets or sets An array of source position ticks.
/// </summary>
public PositionTickInfo[] PositionTicks { get; set; }
}
}