Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AssetProfilingKeys.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core.Diagnostics;
4 
5 namespace SiliconStudio.Core.Serialization.Assets
6 {
7  /// <summary>
8  /// Keys used for profiling the game class.
9  /// </summary>
10  public static class AssetProfilingKeys
11  {
12  public static readonly ProfilingKey Asset = new ProfilingKey("Asset");
13 
14  /// <summary>
15  /// Profiling load of an asset.
16  /// </summary>
17  public static readonly ProfilingKey AssetLoad = new ProfilingKey(Asset, "Load", ProfilingKeyFlags.Log);
18 
19  /// <summary>
20  /// Profiling save of an asset.
21  /// </summary>
22  public static readonly ProfilingKey AssetSave = new ProfilingKey(Asset, "Save", ProfilingKeyFlags.Log);
23  }
24 }
A key to identify a specific profile.
Definition: ProfilingKey.cs:11