Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MicroThreadInfo.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using SiliconStudio.Paradox.Framework.MicroThreading;
6 
7 namespace SiliconStudio.Paradox.DebugTools.DataStructures
8 {
9  public class MicroThreadInfo
10  {
11  public long Id { get; set; }
12  public MicroThreadState BeginState { get; set; }
13  public MicroThreadState EndState { get; set; }
14  public double BeginTime { get; set; }
15  public double EndTime { get; set; }
16 
18  {
19  MicroThreadInfo duplicate = new MicroThreadInfo();
20 
21  duplicate.Id = Id;
22  duplicate.BeginState = BeginState;
23  duplicate.EndState = EndState;
24  duplicate.BeginTime = BeginTime;
25  duplicate.EndTime = EndTime;
26 
27  return duplicate;
28  }
29  }
30 }