Home
last modified time | relevance | path

Searched refs:traceConfigProto (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/ui/src/chrome_extension/
Dchrome_tracing_controller.ts94 const traceConfigProto = extractTraceConfig(enableTracingRequest); constant
95 if (!traceConfigProto) {
100 this.handleStartTracing(traceConfigProto);
240 handleStartTracing(traceConfigProto: Uint8Array) {
257 const configEncoded = base64Encode(traceConfigProto);
265 const traceConfig = TraceConfig.decode(traceConfigProto);
/external/perfetto/ui/src/controller/
Dadb_base_controller.ts97 const traceConfigProto = extractTraceConfig(enableTracingProto); constant
98 if (!traceConfigProto) return;
99 const duration = extractDurationFromTraceConfig(traceConfigProto);
Dadb_shell_controller.ts70 const traceConfigProto = extractTraceConfig(enableTracingProto); constant
71 if (!traceConfigProto) {
76 await this.startRecording(traceConfigProto);
/external/perfetto/ui/src/base/
Dtrace_config_utils.ts34 export function extractDurationFromTraceConfig(traceConfigProto: Uint8Array) {
36 return perfetto.protos.TraceConfig.decode(traceConfigProto).durationMs;
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java357 TraceConfig traceConfigProto, TraceParams currentTraceParams) { in fromTraceConfigProto() argument
359 if (traceConfigProto.hasConstantSampler()) { in fromTraceConfigProto()
360 ConstantSampler constantSampler = traceConfigProto.getConstantSampler(); in fromTraceConfigProto()
366 } else if (traceConfigProto.hasProbabilitySampler()) { in fromTraceConfigProto()
369 traceConfigProto.getProbabilitySampler().getSamplingProbability())); in fromTraceConfigProto()
385 TraceConfig traceConfigProto = config.getConfig(); in getUpdatedTraceParams() local
386 return fromTraceConfigProto(traceConfigProto, currentParams); in getUpdatedTraceParams()