1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: metrics.proto 3 4package soong_metrics_proto 5 6import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10) 11 12// Reference imports to suppress errors if they are not otherwise used. 13var _ = proto.Marshal 14var _ = fmt.Errorf 15var _ = math.Inf 16 17// This is a compile-time assertion to ensure that this generated file 18// is compatible with the proto package it is being compiled against. 19// A compilation error at this line likely means your copy of the 20// proto package needs to be updated. 21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23type MetricsBase_BuildVariant int32 24 25const ( 26 MetricsBase_USER MetricsBase_BuildVariant = 0 27 MetricsBase_USERDEBUG MetricsBase_BuildVariant = 1 28 MetricsBase_ENG MetricsBase_BuildVariant = 2 29) 30 31var MetricsBase_BuildVariant_name = map[int32]string{ 32 0: "USER", 33 1: "USERDEBUG", 34 2: "ENG", 35} 36 37var MetricsBase_BuildVariant_value = map[string]int32{ 38 "USER": 0, 39 "USERDEBUG": 1, 40 "ENG": 2, 41} 42 43func (x MetricsBase_BuildVariant) Enum() *MetricsBase_BuildVariant { 44 p := new(MetricsBase_BuildVariant) 45 *p = x 46 return p 47} 48 49func (x MetricsBase_BuildVariant) String() string { 50 return proto.EnumName(MetricsBase_BuildVariant_name, int32(x)) 51} 52 53func (x *MetricsBase_BuildVariant) UnmarshalJSON(data []byte) error { 54 value, err := proto.UnmarshalJSONEnum(MetricsBase_BuildVariant_value, data, "MetricsBase_BuildVariant") 55 if err != nil { 56 return err 57 } 58 *x = MetricsBase_BuildVariant(value) 59 return nil 60} 61 62func (MetricsBase_BuildVariant) EnumDescriptor() ([]byte, []int) { 63 return fileDescriptor_6039342a2ba47b72, []int{0, 0} 64} 65 66type MetricsBase_Arch int32 67 68const ( 69 MetricsBase_UNKNOWN MetricsBase_Arch = 0 70 MetricsBase_ARM MetricsBase_Arch = 1 71 MetricsBase_ARM64 MetricsBase_Arch = 2 72 MetricsBase_X86 MetricsBase_Arch = 3 73 MetricsBase_X86_64 MetricsBase_Arch = 4 74) 75 76var MetricsBase_Arch_name = map[int32]string{ 77 0: "UNKNOWN", 78 1: "ARM", 79 2: "ARM64", 80 3: "X86", 81 4: "X86_64", 82} 83 84var MetricsBase_Arch_value = map[string]int32{ 85 "UNKNOWN": 0, 86 "ARM": 1, 87 "ARM64": 2, 88 "X86": 3, 89 "X86_64": 4, 90} 91 92func (x MetricsBase_Arch) Enum() *MetricsBase_Arch { 93 p := new(MetricsBase_Arch) 94 *p = x 95 return p 96} 97 98func (x MetricsBase_Arch) String() string { 99 return proto.EnumName(MetricsBase_Arch_name, int32(x)) 100} 101 102func (x *MetricsBase_Arch) UnmarshalJSON(data []byte) error { 103 value, err := proto.UnmarshalJSONEnum(MetricsBase_Arch_value, data, "MetricsBase_Arch") 104 if err != nil { 105 return err 106 } 107 *x = MetricsBase_Arch(value) 108 return nil 109} 110 111func (MetricsBase_Arch) EnumDescriptor() ([]byte, []int) { 112 return fileDescriptor_6039342a2ba47b72, []int{0, 1} 113} 114 115type ModuleTypeInfo_BuildSystem int32 116 117const ( 118 ModuleTypeInfo_UNKNOWN ModuleTypeInfo_BuildSystem = 0 119 ModuleTypeInfo_SOONG ModuleTypeInfo_BuildSystem = 1 120 ModuleTypeInfo_MAKE ModuleTypeInfo_BuildSystem = 2 121) 122 123var ModuleTypeInfo_BuildSystem_name = map[int32]string{ 124 0: "UNKNOWN", 125 1: "SOONG", 126 2: "MAKE", 127} 128 129var ModuleTypeInfo_BuildSystem_value = map[string]int32{ 130 "UNKNOWN": 0, 131 "SOONG": 1, 132 "MAKE": 2, 133} 134 135func (x ModuleTypeInfo_BuildSystem) Enum() *ModuleTypeInfo_BuildSystem { 136 p := new(ModuleTypeInfo_BuildSystem) 137 *p = x 138 return p 139} 140 141func (x ModuleTypeInfo_BuildSystem) String() string { 142 return proto.EnumName(ModuleTypeInfo_BuildSystem_name, int32(x)) 143} 144 145func (x *ModuleTypeInfo_BuildSystem) UnmarshalJSON(data []byte) error { 146 value, err := proto.UnmarshalJSONEnum(ModuleTypeInfo_BuildSystem_value, data, "ModuleTypeInfo_BuildSystem") 147 if err != nil { 148 return err 149 } 150 *x = ModuleTypeInfo_BuildSystem(value) 151 return nil 152} 153 154func (ModuleTypeInfo_BuildSystem) EnumDescriptor() ([]byte, []int) { 155 return fileDescriptor_6039342a2ba47b72, []int{2, 0} 156} 157 158type MetricsBase struct { 159 // Timestamp generated when the build starts. 160 BuildDateTimestamp *int64 `protobuf:"varint,1,opt,name=build_date_timestamp,json=buildDateTimestamp" json:"build_date_timestamp,omitempty"` 161 // It is usually used to specify the branch name [and release candidate]. 162 BuildId *string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"` 163 // The platform version codename, eg. P, Q, REL. 164 PlatformVersionCodename *string `protobuf:"bytes,3,opt,name=platform_version_codename,json=platformVersionCodename" json:"platform_version_codename,omitempty"` 165 // The target product information, eg. aosp_arm. 166 TargetProduct *string `protobuf:"bytes,4,opt,name=target_product,json=targetProduct" json:"target_product,omitempty"` 167 // The target build variant information, eg. eng. 168 TargetBuildVariant *MetricsBase_BuildVariant `protobuf:"varint,5,opt,name=target_build_variant,json=targetBuildVariant,enum=soong_build_metrics.MetricsBase_BuildVariant,def=2" json:"target_build_variant,omitempty"` 169 // The target arch information, eg. arm. 170 TargetArch *MetricsBase_Arch `protobuf:"varint,6,opt,name=target_arch,json=targetArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"target_arch,omitempty"` 171 // The target arch variant information, eg. armv7-a-neon. 172 TargetArchVariant *string `protobuf:"bytes,7,opt,name=target_arch_variant,json=targetArchVariant" json:"target_arch_variant,omitempty"` 173 // The target cpu variant information, eg. generic. 174 TargetCpuVariant *string `protobuf:"bytes,8,opt,name=target_cpu_variant,json=targetCpuVariant" json:"target_cpu_variant,omitempty"` 175 // The host arch information, eg. x86_64. 176 HostArch *MetricsBase_Arch `protobuf:"varint,9,opt,name=host_arch,json=hostArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_arch,omitempty"` 177 // The host 2nd arch information, eg. x86. 178 Host_2NdArch *MetricsBase_Arch `protobuf:"varint,10,opt,name=host_2nd_arch,json=host2ndArch,enum=soong_build_metrics.MetricsBase_Arch,def=0" json:"host_2nd_arch,omitempty"` 179 // The host os information, eg. linux. 180 HostOs *string `protobuf:"bytes,11,opt,name=host_os,json=hostOs" json:"host_os,omitempty"` 181 // The host os extra information, eg. Linux-4.17.0-3rodete2-amd64-x86_64-Debian-GNU. 182 HostOsExtra *string `protobuf:"bytes,12,opt,name=host_os_extra,json=hostOsExtra" json:"host_os_extra,omitempty"` 183 // The host cross os information, eg. windows. 184 HostCrossOs *string `protobuf:"bytes,13,opt,name=host_cross_os,json=hostCrossOs" json:"host_cross_os,omitempty"` 185 // The host cross arch information, eg. x86. 186 HostCrossArch *string `protobuf:"bytes,14,opt,name=host_cross_arch,json=hostCrossArch" json:"host_cross_arch,omitempty"` 187 // The host cross 2nd arch information, eg. x86_64. 188 HostCross_2NdArch *string `protobuf:"bytes,15,opt,name=host_cross_2nd_arch,json=hostCross2ndArch" json:"host_cross_2nd_arch,omitempty"` 189 // The directory for generated built artifacts installation, eg. out. 190 OutDir *string `protobuf:"bytes,16,opt,name=out_dir,json=outDir" json:"out_dir,omitempty"` 191 // The metrics for calling various tools (microfactory) before Soong_UI starts. 192 SetupTools []*PerfInfo `protobuf:"bytes,17,rep,name=setup_tools,json=setupTools" json:"setup_tools,omitempty"` 193 // The metrics for calling Kati by multiple times. 194 KatiRuns []*PerfInfo `protobuf:"bytes,18,rep,name=kati_runs,json=katiRuns" json:"kati_runs,omitempty"` 195 // The metrics for calling Soong. 196 SoongRuns []*PerfInfo `protobuf:"bytes,19,rep,name=soong_runs,json=soongRuns" json:"soong_runs,omitempty"` 197 // The metrics for calling Ninja. 198 NinjaRuns []*PerfInfo `protobuf:"bytes,20,rep,name=ninja_runs,json=ninjaRuns" json:"ninja_runs,omitempty"` 199 // The metrics for the whole build 200 Total *PerfInfo `protobuf:"bytes,21,opt,name=total" json:"total,omitempty"` 201 SoongBuildMetrics *SoongBuildMetrics `protobuf:"bytes,22,opt,name=soong_build_metrics,json=soongBuildMetrics" json:"soong_build_metrics,omitempty"` 202 XXX_NoUnkeyedLiteral struct{} `json:"-"` 203 XXX_unrecognized []byte `json:"-"` 204 XXX_sizecache int32 `json:"-"` 205} 206 207func (m *MetricsBase) Reset() { *m = MetricsBase{} } 208func (m *MetricsBase) String() string { return proto.CompactTextString(m) } 209func (*MetricsBase) ProtoMessage() {} 210func (*MetricsBase) Descriptor() ([]byte, []int) { 211 return fileDescriptor_6039342a2ba47b72, []int{0} 212} 213 214func (m *MetricsBase) XXX_Unmarshal(b []byte) error { 215 return xxx_messageInfo_MetricsBase.Unmarshal(m, b) 216} 217func (m *MetricsBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 218 return xxx_messageInfo_MetricsBase.Marshal(b, m, deterministic) 219} 220func (m *MetricsBase) XXX_Merge(src proto.Message) { 221 xxx_messageInfo_MetricsBase.Merge(m, src) 222} 223func (m *MetricsBase) XXX_Size() int { 224 return xxx_messageInfo_MetricsBase.Size(m) 225} 226func (m *MetricsBase) XXX_DiscardUnknown() { 227 xxx_messageInfo_MetricsBase.DiscardUnknown(m) 228} 229 230var xxx_messageInfo_MetricsBase proto.InternalMessageInfo 231 232const Default_MetricsBase_TargetBuildVariant MetricsBase_BuildVariant = MetricsBase_ENG 233const Default_MetricsBase_TargetArch MetricsBase_Arch = MetricsBase_UNKNOWN 234const Default_MetricsBase_HostArch MetricsBase_Arch = MetricsBase_UNKNOWN 235const Default_MetricsBase_Host_2NdArch MetricsBase_Arch = MetricsBase_UNKNOWN 236 237func (m *MetricsBase) GetBuildDateTimestamp() int64 { 238 if m != nil && m.BuildDateTimestamp != nil { 239 return *m.BuildDateTimestamp 240 } 241 return 0 242} 243 244func (m *MetricsBase) GetBuildId() string { 245 if m != nil && m.BuildId != nil { 246 return *m.BuildId 247 } 248 return "" 249} 250 251func (m *MetricsBase) GetPlatformVersionCodename() string { 252 if m != nil && m.PlatformVersionCodename != nil { 253 return *m.PlatformVersionCodename 254 } 255 return "" 256} 257 258func (m *MetricsBase) GetTargetProduct() string { 259 if m != nil && m.TargetProduct != nil { 260 return *m.TargetProduct 261 } 262 return "" 263} 264 265func (m *MetricsBase) GetTargetBuildVariant() MetricsBase_BuildVariant { 266 if m != nil && m.TargetBuildVariant != nil { 267 return *m.TargetBuildVariant 268 } 269 return Default_MetricsBase_TargetBuildVariant 270} 271 272func (m *MetricsBase) GetTargetArch() MetricsBase_Arch { 273 if m != nil && m.TargetArch != nil { 274 return *m.TargetArch 275 } 276 return Default_MetricsBase_TargetArch 277} 278 279func (m *MetricsBase) GetTargetArchVariant() string { 280 if m != nil && m.TargetArchVariant != nil { 281 return *m.TargetArchVariant 282 } 283 return "" 284} 285 286func (m *MetricsBase) GetTargetCpuVariant() string { 287 if m != nil && m.TargetCpuVariant != nil { 288 return *m.TargetCpuVariant 289 } 290 return "" 291} 292 293func (m *MetricsBase) GetHostArch() MetricsBase_Arch { 294 if m != nil && m.HostArch != nil { 295 return *m.HostArch 296 } 297 return Default_MetricsBase_HostArch 298} 299 300func (m *MetricsBase) GetHost_2NdArch() MetricsBase_Arch { 301 if m != nil && m.Host_2NdArch != nil { 302 return *m.Host_2NdArch 303 } 304 return Default_MetricsBase_Host_2NdArch 305} 306 307func (m *MetricsBase) GetHostOs() string { 308 if m != nil && m.HostOs != nil { 309 return *m.HostOs 310 } 311 return "" 312} 313 314func (m *MetricsBase) GetHostOsExtra() string { 315 if m != nil && m.HostOsExtra != nil { 316 return *m.HostOsExtra 317 } 318 return "" 319} 320 321func (m *MetricsBase) GetHostCrossOs() string { 322 if m != nil && m.HostCrossOs != nil { 323 return *m.HostCrossOs 324 } 325 return "" 326} 327 328func (m *MetricsBase) GetHostCrossArch() string { 329 if m != nil && m.HostCrossArch != nil { 330 return *m.HostCrossArch 331 } 332 return "" 333} 334 335func (m *MetricsBase) GetHostCross_2NdArch() string { 336 if m != nil && m.HostCross_2NdArch != nil { 337 return *m.HostCross_2NdArch 338 } 339 return "" 340} 341 342func (m *MetricsBase) GetOutDir() string { 343 if m != nil && m.OutDir != nil { 344 return *m.OutDir 345 } 346 return "" 347} 348 349func (m *MetricsBase) GetSetupTools() []*PerfInfo { 350 if m != nil { 351 return m.SetupTools 352 } 353 return nil 354} 355 356func (m *MetricsBase) GetKatiRuns() []*PerfInfo { 357 if m != nil { 358 return m.KatiRuns 359 } 360 return nil 361} 362 363func (m *MetricsBase) GetSoongRuns() []*PerfInfo { 364 if m != nil { 365 return m.SoongRuns 366 } 367 return nil 368} 369 370func (m *MetricsBase) GetNinjaRuns() []*PerfInfo { 371 if m != nil { 372 return m.NinjaRuns 373 } 374 return nil 375} 376 377func (m *MetricsBase) GetTotal() *PerfInfo { 378 if m != nil { 379 return m.Total 380 } 381 return nil 382} 383 384func (m *MetricsBase) GetSoongBuildMetrics() *SoongBuildMetrics { 385 if m != nil { 386 return m.SoongBuildMetrics 387 } 388 return nil 389} 390 391type PerfInfo struct { 392 // The description for the phase/action/part while the tool running. 393 Desc *string `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` 394 // The name for the running phase/action/part. 395 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` 396 // The absolute start time. 397 // The number of nanoseconds elapsed since January 1, 1970 UTC. 398 StartTime *uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` 399 // The real running time. 400 // The number of nanoseconds elapsed since start_time. 401 RealTime *uint64 `protobuf:"varint,4,opt,name=real_time,json=realTime" json:"real_time,omitempty"` 402 // The number of MB for memory use. 403 MemoryUse *uint64 `protobuf:"varint,5,opt,name=memory_use,json=memoryUse" json:"memory_use,omitempty"` 404 XXX_NoUnkeyedLiteral struct{} `json:"-"` 405 XXX_unrecognized []byte `json:"-"` 406 XXX_sizecache int32 `json:"-"` 407} 408 409func (m *PerfInfo) Reset() { *m = PerfInfo{} } 410func (m *PerfInfo) String() string { return proto.CompactTextString(m) } 411func (*PerfInfo) ProtoMessage() {} 412func (*PerfInfo) Descriptor() ([]byte, []int) { 413 return fileDescriptor_6039342a2ba47b72, []int{1} 414} 415 416func (m *PerfInfo) XXX_Unmarshal(b []byte) error { 417 return xxx_messageInfo_PerfInfo.Unmarshal(m, b) 418} 419func (m *PerfInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 420 return xxx_messageInfo_PerfInfo.Marshal(b, m, deterministic) 421} 422func (m *PerfInfo) XXX_Merge(src proto.Message) { 423 xxx_messageInfo_PerfInfo.Merge(m, src) 424} 425func (m *PerfInfo) XXX_Size() int { 426 return xxx_messageInfo_PerfInfo.Size(m) 427} 428func (m *PerfInfo) XXX_DiscardUnknown() { 429 xxx_messageInfo_PerfInfo.DiscardUnknown(m) 430} 431 432var xxx_messageInfo_PerfInfo proto.InternalMessageInfo 433 434func (m *PerfInfo) GetDesc() string { 435 if m != nil && m.Desc != nil { 436 return *m.Desc 437 } 438 return "" 439} 440 441func (m *PerfInfo) GetName() string { 442 if m != nil && m.Name != nil { 443 return *m.Name 444 } 445 return "" 446} 447 448func (m *PerfInfo) GetStartTime() uint64 { 449 if m != nil && m.StartTime != nil { 450 return *m.StartTime 451 } 452 return 0 453} 454 455func (m *PerfInfo) GetRealTime() uint64 { 456 if m != nil && m.RealTime != nil { 457 return *m.RealTime 458 } 459 return 0 460} 461 462func (m *PerfInfo) GetMemoryUse() uint64 { 463 if m != nil && m.MemoryUse != nil { 464 return *m.MemoryUse 465 } 466 return 0 467} 468 469type ModuleTypeInfo struct { 470 // The build system, eg. Soong or Make. 471 BuildSystem *ModuleTypeInfo_BuildSystem `protobuf:"varint,1,opt,name=build_system,json=buildSystem,enum=soong_build_metrics.ModuleTypeInfo_BuildSystem,def=0" json:"build_system,omitempty"` 472 // The module type, eg. java_library, cc_binary, and etc. 473 ModuleType *string `protobuf:"bytes,2,opt,name=module_type,json=moduleType" json:"module_type,omitempty"` 474 // The number of logical modules. 475 NumOfModules *uint32 `protobuf:"varint,3,opt,name=num_of_modules,json=numOfModules" json:"num_of_modules,omitempty"` 476 XXX_NoUnkeyedLiteral struct{} `json:"-"` 477 XXX_unrecognized []byte `json:"-"` 478 XXX_sizecache int32 `json:"-"` 479} 480 481func (m *ModuleTypeInfo) Reset() { *m = ModuleTypeInfo{} } 482func (m *ModuleTypeInfo) String() string { return proto.CompactTextString(m) } 483func (*ModuleTypeInfo) ProtoMessage() {} 484func (*ModuleTypeInfo) Descriptor() ([]byte, []int) { 485 return fileDescriptor_6039342a2ba47b72, []int{2} 486} 487 488func (m *ModuleTypeInfo) XXX_Unmarshal(b []byte) error { 489 return xxx_messageInfo_ModuleTypeInfo.Unmarshal(m, b) 490} 491func (m *ModuleTypeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 492 return xxx_messageInfo_ModuleTypeInfo.Marshal(b, m, deterministic) 493} 494func (m *ModuleTypeInfo) XXX_Merge(src proto.Message) { 495 xxx_messageInfo_ModuleTypeInfo.Merge(m, src) 496} 497func (m *ModuleTypeInfo) XXX_Size() int { 498 return xxx_messageInfo_ModuleTypeInfo.Size(m) 499} 500func (m *ModuleTypeInfo) XXX_DiscardUnknown() { 501 xxx_messageInfo_ModuleTypeInfo.DiscardUnknown(m) 502} 503 504var xxx_messageInfo_ModuleTypeInfo proto.InternalMessageInfo 505 506const Default_ModuleTypeInfo_BuildSystem ModuleTypeInfo_BuildSystem = ModuleTypeInfo_UNKNOWN 507 508func (m *ModuleTypeInfo) GetBuildSystem() ModuleTypeInfo_BuildSystem { 509 if m != nil && m.BuildSystem != nil { 510 return *m.BuildSystem 511 } 512 return Default_ModuleTypeInfo_BuildSystem 513} 514 515func (m *ModuleTypeInfo) GetModuleType() string { 516 if m != nil && m.ModuleType != nil { 517 return *m.ModuleType 518 } 519 return "" 520} 521 522func (m *ModuleTypeInfo) GetNumOfModules() uint32 { 523 if m != nil && m.NumOfModules != nil { 524 return *m.NumOfModules 525 } 526 return 0 527} 528 529type CriticalUserJourneyMetrics struct { 530 // The name of a critical user journey test. 531 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 532 // The metrics produced when running the critical user journey test. 533 Metrics *MetricsBase `protobuf:"bytes,2,opt,name=metrics" json:"metrics,omitempty"` 534 XXX_NoUnkeyedLiteral struct{} `json:"-"` 535 XXX_unrecognized []byte `json:"-"` 536 XXX_sizecache int32 `json:"-"` 537} 538 539func (m *CriticalUserJourneyMetrics) Reset() { *m = CriticalUserJourneyMetrics{} } 540func (m *CriticalUserJourneyMetrics) String() string { return proto.CompactTextString(m) } 541func (*CriticalUserJourneyMetrics) ProtoMessage() {} 542func (*CriticalUserJourneyMetrics) Descriptor() ([]byte, []int) { 543 return fileDescriptor_6039342a2ba47b72, []int{3} 544} 545 546func (m *CriticalUserJourneyMetrics) XXX_Unmarshal(b []byte) error { 547 return xxx_messageInfo_CriticalUserJourneyMetrics.Unmarshal(m, b) 548} 549func (m *CriticalUserJourneyMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 550 return xxx_messageInfo_CriticalUserJourneyMetrics.Marshal(b, m, deterministic) 551} 552func (m *CriticalUserJourneyMetrics) XXX_Merge(src proto.Message) { 553 xxx_messageInfo_CriticalUserJourneyMetrics.Merge(m, src) 554} 555func (m *CriticalUserJourneyMetrics) XXX_Size() int { 556 return xxx_messageInfo_CriticalUserJourneyMetrics.Size(m) 557} 558func (m *CriticalUserJourneyMetrics) XXX_DiscardUnknown() { 559 xxx_messageInfo_CriticalUserJourneyMetrics.DiscardUnknown(m) 560} 561 562var xxx_messageInfo_CriticalUserJourneyMetrics proto.InternalMessageInfo 563 564func (m *CriticalUserJourneyMetrics) GetName() string { 565 if m != nil && m.Name != nil { 566 return *m.Name 567 } 568 return "" 569} 570 571func (m *CriticalUserJourneyMetrics) GetMetrics() *MetricsBase { 572 if m != nil { 573 return m.Metrics 574 } 575 return nil 576} 577 578type CriticalUserJourneysMetrics struct { 579 // A set of metrics from a run of the critical user journey tests. 580 Cujs []*CriticalUserJourneyMetrics `protobuf:"bytes,1,rep,name=cujs" json:"cujs,omitempty"` 581 XXX_NoUnkeyedLiteral struct{} `json:"-"` 582 XXX_unrecognized []byte `json:"-"` 583 XXX_sizecache int32 `json:"-"` 584} 585 586func (m *CriticalUserJourneysMetrics) Reset() { *m = CriticalUserJourneysMetrics{} } 587func (m *CriticalUserJourneysMetrics) String() string { return proto.CompactTextString(m) } 588func (*CriticalUserJourneysMetrics) ProtoMessage() {} 589func (*CriticalUserJourneysMetrics) Descriptor() ([]byte, []int) { 590 return fileDescriptor_6039342a2ba47b72, []int{4} 591} 592 593func (m *CriticalUserJourneysMetrics) XXX_Unmarshal(b []byte) error { 594 return xxx_messageInfo_CriticalUserJourneysMetrics.Unmarshal(m, b) 595} 596func (m *CriticalUserJourneysMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 597 return xxx_messageInfo_CriticalUserJourneysMetrics.Marshal(b, m, deterministic) 598} 599func (m *CriticalUserJourneysMetrics) XXX_Merge(src proto.Message) { 600 xxx_messageInfo_CriticalUserJourneysMetrics.Merge(m, src) 601} 602func (m *CriticalUserJourneysMetrics) XXX_Size() int { 603 return xxx_messageInfo_CriticalUserJourneysMetrics.Size(m) 604} 605func (m *CriticalUserJourneysMetrics) XXX_DiscardUnknown() { 606 xxx_messageInfo_CriticalUserJourneysMetrics.DiscardUnknown(m) 607} 608 609var xxx_messageInfo_CriticalUserJourneysMetrics proto.InternalMessageInfo 610 611func (m *CriticalUserJourneysMetrics) GetCujs() []*CriticalUserJourneyMetrics { 612 if m != nil { 613 return m.Cujs 614 } 615 return nil 616} 617 618type SoongBuildMetrics struct { 619 // The number of modules handled by soong_build. 620 Modules *uint32 `protobuf:"varint,1,opt,name=modules" json:"modules,omitempty"` 621 // The total number of variants handled by soong_build. 622 Variants *uint32 `protobuf:"varint,2,opt,name=variants" json:"variants,omitempty"` 623 // The total number of allocations in soong_build. 624 TotalAllocCount *uint64 `protobuf:"varint,3,opt,name=total_alloc_count,json=totalAllocCount" json:"total_alloc_count,omitempty"` 625 // The total size of allocations in soong_build in bytes. 626 TotalAllocSize *uint64 `protobuf:"varint,4,opt,name=total_alloc_size,json=totalAllocSize" json:"total_alloc_size,omitempty"` 627 // The approximate maximum size of the heap in soong_build in bytes. 628 MaxHeapSize *uint64 `protobuf:"varint,5,opt,name=max_heap_size,json=maxHeapSize" json:"max_heap_size,omitempty"` 629 XXX_NoUnkeyedLiteral struct{} `json:"-"` 630 XXX_unrecognized []byte `json:"-"` 631 XXX_sizecache int32 `json:"-"` 632} 633 634func (m *SoongBuildMetrics) Reset() { *m = SoongBuildMetrics{} } 635func (m *SoongBuildMetrics) String() string { return proto.CompactTextString(m) } 636func (*SoongBuildMetrics) ProtoMessage() {} 637func (*SoongBuildMetrics) Descriptor() ([]byte, []int) { 638 return fileDescriptor_6039342a2ba47b72, []int{5} 639} 640 641func (m *SoongBuildMetrics) XXX_Unmarshal(b []byte) error { 642 return xxx_messageInfo_SoongBuildMetrics.Unmarshal(m, b) 643} 644func (m *SoongBuildMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 645 return xxx_messageInfo_SoongBuildMetrics.Marshal(b, m, deterministic) 646} 647func (m *SoongBuildMetrics) XXX_Merge(src proto.Message) { 648 xxx_messageInfo_SoongBuildMetrics.Merge(m, src) 649} 650func (m *SoongBuildMetrics) XXX_Size() int { 651 return xxx_messageInfo_SoongBuildMetrics.Size(m) 652} 653func (m *SoongBuildMetrics) XXX_DiscardUnknown() { 654 xxx_messageInfo_SoongBuildMetrics.DiscardUnknown(m) 655} 656 657var xxx_messageInfo_SoongBuildMetrics proto.InternalMessageInfo 658 659func (m *SoongBuildMetrics) GetModules() uint32 { 660 if m != nil && m.Modules != nil { 661 return *m.Modules 662 } 663 return 0 664} 665 666func (m *SoongBuildMetrics) GetVariants() uint32 { 667 if m != nil && m.Variants != nil { 668 return *m.Variants 669 } 670 return 0 671} 672 673func (m *SoongBuildMetrics) GetTotalAllocCount() uint64 { 674 if m != nil && m.TotalAllocCount != nil { 675 return *m.TotalAllocCount 676 } 677 return 0 678} 679 680func (m *SoongBuildMetrics) GetTotalAllocSize() uint64 { 681 if m != nil && m.TotalAllocSize != nil { 682 return *m.TotalAllocSize 683 } 684 return 0 685} 686 687func (m *SoongBuildMetrics) GetMaxHeapSize() uint64 { 688 if m != nil && m.MaxHeapSize != nil { 689 return *m.MaxHeapSize 690 } 691 return 0 692} 693 694func init() { 695 proto.RegisterEnum("soong_build_metrics.MetricsBase_BuildVariant", MetricsBase_BuildVariant_name, MetricsBase_BuildVariant_value) 696 proto.RegisterEnum("soong_build_metrics.MetricsBase_Arch", MetricsBase_Arch_name, MetricsBase_Arch_value) 697 proto.RegisterEnum("soong_build_metrics.ModuleTypeInfo_BuildSystem", ModuleTypeInfo_BuildSystem_name, ModuleTypeInfo_BuildSystem_value) 698 proto.RegisterType((*MetricsBase)(nil), "soong_build_metrics.MetricsBase") 699 proto.RegisterType((*PerfInfo)(nil), "soong_build_metrics.PerfInfo") 700 proto.RegisterType((*ModuleTypeInfo)(nil), "soong_build_metrics.ModuleTypeInfo") 701 proto.RegisterType((*CriticalUserJourneyMetrics)(nil), "soong_build_metrics.CriticalUserJourneyMetrics") 702 proto.RegisterType((*CriticalUserJourneysMetrics)(nil), "soong_build_metrics.CriticalUserJourneysMetrics") 703 proto.RegisterType((*SoongBuildMetrics)(nil), "soong_build_metrics.SoongBuildMetrics") 704} 705 706func init() { proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72) } 707 708var fileDescriptor_6039342a2ba47b72 = []byte{ 709 // 962 bytes of a gzipped FileDescriptorProto 710 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xef, 0x4e, 0xdc, 0x46, 711 0x10, 0x8f, 0xe1, 0xe0, 0xce, 0x63, 0xee, 0x30, 0x0b, 0x69, 0x9c, 0x44, 0xa8, 0x27, 0xab, 0x89, 712 0x50, 0xd5, 0x90, 0x88, 0x46, 0x28, 0x42, 0x51, 0x25, 0x38, 0x50, 0x9a, 0x22, 0xb8, 0xc8, 0xfc, 713 0x69, 0xd4, 0x7e, 0x58, 0x2d, 0xf6, 0x12, 0x9c, 0xda, 0x5e, 0x6b, 0x77, 0x1d, 0x41, 0xde, 0xa1, 714 0x0f, 0xd4, 0xcf, 0x7d, 0x96, 0xbe, 0x47, 0xb5, 0xb3, 0xf6, 0x61, 0xda, 0x8b, 0x40, 0xf9, 0x66, 715 0xcf, 0xef, 0xcf, 0xce, 0xac, 0x67, 0xe6, 0x0e, 0xfa, 0x39, 0xd7, 0x32, 0x8d, 0xd5, 0x7a, 0x29, 716 0x85, 0x16, 0x64, 0x59, 0x09, 0x51, 0x7c, 0xa0, 0x67, 0x55, 0x9a, 0x25, 0xb4, 0x86, 0xc2, 0xbf, 717 0x00, 0xbc, 0x03, 0xfb, 0xbc, 0xc3, 0x14, 0x27, 0x2f, 0x60, 0xc5, 0x12, 0x12, 0xa6, 0x39, 0xd5, 718 0x69, 0xce, 0x95, 0x66, 0x79, 0x19, 0x38, 0x43, 0x67, 0x6d, 0x36, 0x22, 0x88, 0xed, 0x32, 0xcd, 719 0x8f, 0x1b, 0x84, 0x3c, 0x84, 0x9e, 0x55, 0xa4, 0x49, 0x30, 0x33, 0x74, 0xd6, 0xdc, 0xa8, 0x8b, 720 0xef, 0x6f, 0x13, 0xb2, 0x05, 0x0f, 0xcb, 0x8c, 0xe9, 0x73, 0x21, 0x73, 0xfa, 0x89, 0x4b, 0x95, 721 0x8a, 0x82, 0xc6, 0x22, 0xe1, 0x05, 0xcb, 0x79, 0x30, 0x8b, 0xdc, 0x07, 0x0d, 0xe1, 0xd4, 0xe2, 722 0xa3, 0x1a, 0x26, 0x4f, 0x60, 0xa0, 0x99, 0xfc, 0xc0, 0x35, 0x2d, 0xa5, 0x48, 0xaa, 0x58, 0x07, 723 0x1d, 0x14, 0xf4, 0x6d,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x22, 0x4f, 0x61, 0xb1, 0xc5, 0xc1, 0xb4, 0x07, 735 0xb6, 0x7d, 0x26, 0x2c, 0x4c, 0xe4, 0x19, 0x2c, 0xb7, 0x78, 0x93, 0x12, 0x17, 0xed, 0xc5, 0x4e, 736 0xb8, 0xad, 0xbc, 0x45, 0xa5, 0x69, 0x92, 0xca, 0xc0, 0xb7, 0x79, 0x8b, 0x4a, 0xef, 0xa6, 0x92, 737 0xfc, 0x04, 0x9e, 0xe2, 0xba, 0x2a, 0xa9, 0x16, 0x22, 0x53, 0xc1, 0xd2, 0x70, 0x76, 0xcd, 0xdb, 738 0x58, 0x9d, 0x7a, 0x45, 0xef, 0xb8, 0x3c, 0x7f, 0x5b, 0x9c, 0x8b, 0x08, 0x50, 0x71, 0x6c, 0x04, 739 0x64, 0x0b, 0xdc, 0x3f, 0x98, 0x4e, 0xa9, 0xac, 0x0a, 0x15, 0x90, 0xbb, 0xa8, 0x7b, 0x86, 0x1f, 740 0x55, 0x85, 0x22, 0xaf, 0x01, 0x2c, 0x13, 0xc5, 0xcb, 0x77, 0x11, 0xbb, 0x88, 0x36, 0xea, 0x22, 741 0x2d, 0x3e, 0x32, 0xab, 0x5e, 0xb9, 0x93, 0x1a, 0x05, 0xa8, 0xfe, 0x11, 0xe6, 0xb4, 0xd0, 0x2c, 742 0x0b, 0xee, 0x0f, 0x9d, 0xdb, 0x85, 0x96, 0x4b, 0x4e, 0x61, 0xda, 0x2a, 0x0a, 0xbe, 0x41, 0x8b, 743 0xa7, 0x53, 0x2d, 0x8e, 0x4c, 0x0c, 0x47, 0xb2, 0xee, 0xb0, 0x68, 0x49, 0xfd, 0x37, 0x14, 0xbe, 744 0x80, 0x85, 0x1b, 0x53, 0xdb, 0x83, 0xce, 0xc9, 0xd1, 0x5e, 0xe4, 0xdf, 0x23, 0x7d, 0x70, 0xcd, 745 0xd3, 0xee, 0xde, 0xce, 0xc9, 0x1b, 0xdf, 0x21, 0x5d, 0x30, 0x93, 0xee, 0xcf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 0x5d, 0xfe, 0xcc, 0x59, 0x69, 0x38, 0x3b, 0xf7, 0x7f, 0xab, 0xe7, 0xba, 0xae, 769 0x9b, 0xe2, 0xff, 0x8e, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x2a, 0x36, 0xe3, 0x87, 0x08, 770 0x00, 0x00, 771} 772