示例#1
0
            public ValueType(PProfSampleValueType valueTypeItems, PProfBuilder builder)
            {
                Validate.NotNull(builder, nameof(builder));

                _typeInfo = builder.GetOrCreateStringInfo(valueTypeItems.Type ?? string.Empty);
                _unitInfo = builder.GetOrCreateStringInfo(valueTypeItems.Unit ?? string.Empty);
            }
示例#2
0
        internal PProfBuildSession(PProfBuilder owner, PProfBuildSessionState ownerBuildState)
        {
            Validate.NotNull(owner, nameof(owner));
            Validate.NotNull(ownerBuildState, nameof(ownerBuildState));

            _ownerBuildState = ownerBuildState;

            this.OwnerBuilder = owner;
            _profile          = new PProfProto.Profile();
            _lastSample       = null;
            this.SamplesCount = 0;
        }
示例#3
0
 internal SymbolMonikersConfigSettings(PProfBuilder ownerBuilder)
 {
     Validate.NotNull(ownerBuilder, nameof(ownerBuilder));
     _ownerBuilder = ownerBuilder;
 }