예제 #1
0
        public static bool GetProcTracer(ulong id, out CPProcTracer tracer)
        {
            tracer = null;
            if (!procTracers.TryGetValue(id, out tracer) && tracersFactory != null)
            {
                tracersFactory.CreateProcTracer(out tracer, id);
                if (tracer != null)
                {
                    procTracers.Add(id, tracer);

                    return(true);
                }
            }

            return(false);
        }