Home
last modified time | relevance | path

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

/device/google/trout/tools/tracing/tooling/
Dupdate_trace.py23 def update_timestamp_perfetto_trace(trace_dict, time_offset): argument
27 for event in trace_dict['traceEvents']:
31 def update_pid_perfetto_trace(trace_dict, start_pid, max_pid): argument
39 for event in trace_dict['traceEvents']:
55 trace_dict = json.loads(f.read())
60 update_timestamp_perfetto_trace(trace_dict, time_offset)
61 update_pid_perfetto_trace(trace_dict, start_pid, max_pid)
69 json.dump(trace_dict, f)