Esempio n. 1
0
        static long GetCounterValue(FrameDataView frameData, string name)
        {
            var id = frameData.GetMarkerId(name);

            if (id == FrameDataView.invalidMarkerId)
            {
                return(-1);
            }

            return(frameData.GetCounterValueAsLong(id));
        }