4 using System.Collections.Generic;
6 namespace SiliconStudio.Core.Diagnostics
13 internal static readonly List<ProfilingKey> AllKeys =
new List<ProfilingKey>();
14 internal bool Enabled;
23 if (name == null)
throw new ArgumentNullException(
"name");
24 Children =
new List<ProfilingKey>();
42 if (parent == null)
throw new ArgumentNullException(
"parent");
43 if (name == null)
throw new ArgumentNullException(
"name");
44 Children =
new List<ProfilingKey>();
48 parent.Children.Add(
this);
50 Name = string.Format(
"{0}.{1}", Parent, name);
63 public string Name {
get;
private set; }
77 public List<ProfilingKey> Children {
get;
private set; }
A key to identify a specific profile.
_In_ size_t _In_ DXGI_FORMAT _In_ size_t _In_ DXGI_FORMAT _In_ DWORD flags
override string ToString()
ProfilingKey(ProfilingKey parent, string name, ProfilingKeyFlags flags=ProfilingKeyFlags.None)
Initializes a new instance of the ProfilingKey class.
Flags
Enumeration of the new Assimp's flags.
ProfilingKey(string name, ProfilingKeyFlags flags=ProfilingKeyFlags.None)
Initializes a new instance of the ProfilingKey class.