Ejemplo n.º 1
0
 public void Init(MyProfilerObjectBuilderInfo data)
 {
     m_profilingBlocks = data.ProfilingBlocks;
     m_rootBlocks      = data.RootBlocks;
     m_customName      = data.CustomName;
     m_axisName        = data.AxisName;
     TotalCalls        = data.TotalCalls;
 }
Ejemplo n.º 2
0
        public MyProfilerObjectBuilderInfo GetObjectBuilderInfo()
        {
            MyProfilerObjectBuilderInfo objectBuilder = new MyProfilerObjectBuilderInfo();

            objectBuilder.ProfilingBlocks = m_profilingBlocks;
            objectBuilder.RootBlocks      = m_rootBlocks;
            objectBuilder.CustomName      = m_customName;
            objectBuilder.AxisName        = m_axisName;
            objectBuilder.TotalCalls      = TotalCalls;
            return(objectBuilder);
        }