public CTPInstancePerformanceCounter(
            string instance,
            CTPPerformanceCounterType spcType)
            : this()
        {
            CTPPerformanceCounters counters = CTPPerformanceCounters.Instance;

            _pcs = new PerformanceCounter(
                CTPPerformanceCounters._ctpCategoryName,
                counters._ctpPerformanceCounters[(int)spcType].Name,
                instance,
                false);
            _pcs.RawValue = _pcs.RawValue;
        }
 private CTPInstancePerformanceCounter GetCounter(CTPPerformanceCounterType spcType)
 {
     return(_pcs[(int)spcType]);
 }