A game about forced loneliness, made by TACStudios
1using System.Diagnostics;
2
3namespace Unity.VisualScripting
4{
5 public class ProfiledSegment
6 {
7 public ProfiledSegment(ProfiledSegment parent, string name)
8 {
9 this.parent = parent;
10 this.name = name;
11 stopwatch = new Stopwatch();
12 children = new ProfiledSegmentCollection();
13 }
14
15 public string name { get; private set; }
16 public Stopwatch stopwatch { get; private set; }
17 public long calls { get; set; }
18 public ProfiledSegment parent { get; private set; }
19 public ProfiledSegmentCollection children { get; private set; }
20 }
21}