1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System; 6 using System.Collections.Generic; 7 using System.Text; 8 9 namespace DPStressHarness 10 { 11 public static class Constants 12 { 13 public const string XML_ELEM_RESULTS = "PerfResults"; 14 public const string XML_ELEM_RUN = "Run"; 15 public const string XML_ELEM_RUN_METRIC = "RunMetric"; 16 public const string XML_ELEM_TEST = "Test"; 17 public const string XML_ELEM_TEST_METRIC = "TestMetric"; 18 public const string XML_ELEM_EXCEPTION = "Exception"; 19 20 public const string XML_ATTR_RUN_LABEL = "label"; 21 public const string XML_ATTR_RUN_START_TIME = "startTime"; 22 public const string XML_ATTR_RUN_OFFICIAL = "official"; 23 public const string XML_ATTR_RUN_MILESTONE = "milestone"; 24 public const string XML_ATTR_RUN_BRANCH = "branch"; 25 public const string XML_ATTR_RUN_UPLOADED = "uploaded"; 26 public const string XML_ATTR_RUN_METRIC_NAME = "name"; 27 public const string XML_ATTR_TEST_NAME = "name"; 28 public const string XML_ATTR_TEST_METRIC_NAME = "name"; 29 public const string XML_ATTR_TEST_METRIC_UNITS = "units"; 30 public const string XML_ATTR_TEST_METRIC_ISHIGHERBETTER = "isHigherBetter"; 31 32 public const string XML_ATTR_VALUE_TRUE = "true"; 33 public const string XML_ATTR_VALUE_FALSE = "false"; 34 35 public const string RUN_METRIC_PROCESSOR_COUNT = "Processor Count"; 36 public const string RUN_DNS_HOST_NAME = "DNS Host Name"; 37 public const string RUN_IDENTITY_NAME = "Identity Name"; 38 public const string RUN_PROCESS_MACHINE_NAME = "Process Machine Name"; 39 40 public const string TEST_METRIC_TEST_ASSEMBLY = "Test Assembly"; 41 public const string TEST_METRIC_TEST_IMPROVEMENT = "Improvement"; 42 public const string TEST_METRIC_TEST_OWNER = "Owner"; 43 public const string TEST_METRIC_TEST_CATEGORY = "Category"; 44 public const string TEST_METRIC_TEST_PRIORITY = "Priority"; 45 public const string TEST_METRIC_APPLICATION_NAME = "Application Name"; 46 public const string TEST_METRIC_TARGET_ASSEMBLY_NAME = "Target Assembly Name"; 47 public const string TEST_METRIC_ELAPSED_SECONDS = "Elapsed Seconds"; 48 public const string TEST_METRIC_RPS = "Requests Per Second"; 49 public const string TEST_METRIC_PEAK_WORKING_SET = "Peak Working Set"; 50 public const string TEST_METRIC_WORKING_SET = "Working Set"; 51 public const string TEST_METRIC_PRIVATE_BYTES = "Private Bytes"; 52 } 53 } 54