public void SendTiming(string category, string action, string label, long milliseconds) { try { var nvc = HitInfoFactory.CreateTimingHit(BasePostDataValues, category, action, label, milliseconds); sendImmediately(nvc); } catch { } }
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); }