예제 #1
0
        /// <summary>
        /// Constructs <see cref="CPUResults"/> with
        /// a <see cref="RipperSettings"/> instance.
        /// </summary>
        /// <param name="rs">Takes in an initial <see cref="RipperSettings"/>
        /// but is marked <see langword="readonly"/> internally.</param>
        /// <param name="userData">The <see cref="UserData"/> to get the
        /// UserType from.</param>

        public CPUResults(RipperSettings rs, ref UserData userData)
        {
            this.TestCollection      = new List <TimeSpan>();
            this.rs                  = rs;
            this.userData            = userData;
            this.iterations_per_tick = 0;
            this.total_duration      = new TimeSpan();
        }
예제 #2
0
        /// <summary>
        /// Constructs <see cref="CPUResults"/> with
        /// a <see cref="RipperSettings"/> instance.
        /// </summary>
        /// <param name="rs">Takes in an initial <see cref="RipperSettings"/>
        /// but is marked <see langword="readonly"/> internally.</param>
        /// <param name="userData">The <see cref="UserData"/> to get the
        /// UserType from.</param>
        /// <param name="threadType">The thread type for the test.</param>

        public CPUResults(RipperSettings rs, ref UserData userData, ThreadType threadType)
        {
            this.TestCollection    = new List <TimeSpan>();
            this.rs                = rs;
            this.userData          = userData;
            this.totalDuration     = new TimeSpan();
            this.iterationsPerTick = 0;
            this.GetThreadType     = threadType;
        }
예제 #3
0
        /// <summary>
        /// Constructs <see cref="RamResults"/> with
        /// a <see cref="RipperSettings"/> instance.
        /// </summary>
        /// <param name="rs">Takes in an initial <see cref="RipperSettings"/>
        /// but is marked <see langword="readonly"/> internally.</param>
        /// <param name="userData">The <see cref="UserData"/> to get the
        /// UserType from.</param>

        public RamResults(RipperSettings rs, ref UserData userData)
        {
            this.TestCollection = new List <TimeSpan>();
            this.rs             = rs;
            this.userData       = userData;
        }