Пример #1
0
        public void SendTiming(string category, string action, string label, long milliseconds)
        {
            try
            {
                var nvc = HitInfoFactory.CreateTimingHit(BasePostDataValues, category, action, label, milliseconds);

                sendImmediately(nvc);
            }
            catch
            {
            }
        }
Пример #2
0
            public ITrackerBatch AddTiming(string category, string action, string label, long milliseconds)
            {
                var hit = HitInfoFactory.CreateTimingHit(_tracker.BasePostDataValues, category, action, label, milliseconds);

                checkFlush();

                lock (_syncRoot)
                {
                    _cache.Add(hit);
                }

                return(this);
            }