Пример #1
0
        public override void OnExit(MethodExecutionArgs args)
        {
            if (ProfilerConfig.Disabled)
            {
                return;
            }
            ExecutionInfo info = (ExecutionInfo)args.MethodExecutionTag;

            info.Stop();
            ProfilerMessage msg = info.ToMessage(m_AssemblyFullName, m_ClassTypeFullName, m_MethodName);

            ProfilerManager.Enqueue(msg);
        }
Пример #2
0
 internal static void Enqueue(ProfilerMessage msg)
 {
     s_QueueManager.Enqueue(msg, true);
 }