コード例 #1
0
        ///////////////////////////////////////////////////////////////////////////////////////////////

        public static void EndProfileBlock(String id)
        {
            if (Enabled)
            {
                ProfileInformation info = FindProfileBlock(id);
                //System.Diagnostics.Debug.Assert(info != null, "Trying to close a block that wasn't opened");
                // stopped asserts here as with this toggleable we can miss an update
                if (info != null)
                {
                    info.stop();
                }
            }
        }