Example #1
0
        /// <summary>
        /// The get value.
        /// </summary>
        /// <param name="counterName">
        /// The counter name.
        /// </param>
        /// <returns>
        /// The <see cref="float"/>.
        /// </returns>
        public float GetValue(string counterName)
        {
            CounterValues cv = list[counterName];

            return(cv.GetValue());
        }
Example #2
0
        /// <summary>
        /// The get average value.
        /// </summary>
        /// <param name="counterName">
        /// The counter name.
        /// </param>
        /// <returns>
        /// The <see cref="double"/>.
        /// </returns>
        public double GetAverageValue(string counterName)
        {
            CounterValues cv = list[counterName];

            return(cv.AverageValue);
        }