Home
last modified time | relevance | path

Searched refs:traces (Results 1 - 25 of 25) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_tracemalloc.py174 def find_trace(self, traces, traceback):
175 for trace in traces:
186 traces = tracemalloc._get_traces()
187 trace = self.find_trace(traces, obj_traceback)
213 traces = tracemalloc._get_traces()
218 trace1 = self.find_trace(traces, obj1_traceback)
219 trace2 = self.find_trace(traces, obj2_traceback)
307 self.assertGreater(snapshot.traces[1].traceback.total_nframe, 10)
315 self.assertEqual(snapshot2.traces, snapshot.traces)
[all...]
/third_party/python/Modules/
H A D_tracemalloc.c135 /* domain (unsigned int) => traces (_Py_hashtable_t).
510 _Py_hashtable_t *traces = tracemalloc_get_traces_table(domain); in tracemalloc_remove_trace() local
511 if (!traces) { in tracemalloc_remove_trace()
515 trace_t *trace = _Py_hashtable_steal(traces, TO_PTR(ptr)); in tracemalloc_remove_trace()
539 _Py_hashtable_t *traces = tracemalloc_get_traces_table(domain); in tracemalloc_add_trace() local
540 if (traces == NULL) { in tracemalloc_add_trace()
541 traces = tracemalloc_create_traces_table(); in tracemalloc_add_trace()
542 if (traces == NULL) { in tracemalloc_add_trace()
546 if (_Py_hashtable_set(tracemalloc_domains, TO_PTR(domain), traces) < 0) { in tracemalloc_add_trace()
547 _Py_hashtable_destroy(traces); in tracemalloc_add_trace()
1185 _Py_hashtable_t *traces; global() member
1194 tracemalloc_copy_trace(_Py_hashtable_t *traces, const void *key, const void *value, void *user_data) tracemalloc_copy_trace() argument
1216 tracemalloc_copy_traces(_Py_hashtable_t *traces) tracemalloc_copy_traces() argument
1242 _Py_hashtable_t *traces = (_Py_hashtable_t *)value; tracemalloc_copy_domain() local
1276 tracemalloc_get_traces_fill(_Py_hashtable_t *traces, const void *key, const void *value, void *user_data) tracemalloc_get_traces_fill() argument
1308 _Py_hashtable_t *traces = (_Py_hashtable_t *)value; tracemalloc_get_traces_domain() local
1428 _Py_hashtable_t *traces = tracemalloc_get_traces_table(domain); tracemalloc_get_traceback() local
1586 const _Py_hashtable_t *traces = value; tracemalloc_get_tracemalloc_memory_cb() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
H A Dgen_restricted_traces.py146 CIPD_TRACE_PREFIX = 'angle/traces'
147 EXPERIMENTAL_CIPD_PREFIX = 'experimental/google.com/%s/angle/traces'
184 def gen_gni(traces, gni_file, format_args):
186 for trace in traces:
257 # Some traces don't contain major/minor version, so use defaults
333 def gen_git_ignore(traces):
334 ignores = ['%s/' % trace for trace in traces]
389 if 'traces' not in json_data:
390 print('Trace data missing traces key.')
392 trace_pairs = [trace.split(' ') for trace in json_data['traces']]
[all...]
H A Drestricted_trace_gold_tests.py8 # Uses Skia Gold (https://skia.org/dev/testing/skiagold) to run pixel tests with ANGLE traces.
324 def _get_batches(traces, batch_size):
325 for i in range(0, len(traces), batch_size):
326 yield traces[i:i + batch_size]
344 traces = [trace.split(' ')[0] for trace in tests]
348 for trace in traces:
356 traces = filtered
358 batches = _get_batches(traces, args.batch_size)
490 sharded_tests = _shard_tests(tests['traces'], args.shard_count, args.shard_index)
H A Dretrace_restricted_traces.py8 Script that re-captures the traces in the restricted trace folder. We can
9 use this to update traces without needing to re-run the app on a device.
122 help='Skip traces which already exist in the out directory.',
142 traces = json.loads(f.read())
144 traces = [trace.split(' ')[0] for trace in traces['traces']]
152 for trace in fnmatch.filter(traces, args.filter):
218 print('The following traces failed to re-trace:\n')
H A Dsync_restricted_traces_to_cipd.py8 # Ensures the restricted traces are uploaded to CIPD. Versions are encoded in
21 CIPD_PREFIX = 'angle/traces'
22 EXPERIMENTAL_CIPD_PREFIX = 'experimental/google.com/%s/angle/traces'
39 traces = json.loads(f.read())
41 for trace_info in traces['traces']:
/third_party/node/test/internet/
H A Dtest-trace-events-dns.js63 const traces = JSON.parse(data.toString()).traceEvents
66 assert(traces.length > 0);
69 assert(traces.some((trace) => {
/third_party/python/Lib/
H A Dtracemalloc.py312 def __init__(self, traces):
314 # traces is a tuple of trace tuples: see Trace constructor
315 self._traces = traces
417 Snapshot of traces of memory blocks allocated by Python.
420 def __init__(self, traces, traceback_limit):
421 # traces is a tuple of trace tuples: see _Traces constructor for
423 self.traces = _Traces(traces)
454 Create a new Snapshot instance with a filtered traces sequence, filters
456 list, return a new Snapshot instance with a copy of the traces
[all...]
/third_party/skia/third_party/externals/angle2/util/capture/
H A Dframe_capture_test_utils.cpp7 // Helper functions for capture and replay of traces.
44 if (!doc.IsObject() || !doc.HasMember("traces") || !doc["traces"].IsArray()) in LoadTraceNamesFromJSON()
50 std::vector<std::string> traces; in LoadTraceNamesFromJSON() local
52 rapidjson::Document::Array traceArray = doc["traces"].GetArray(); in LoadTraceNamesFromJSON()
64 traces.push_back(traceAndVersion[0]); in LoadTraceNamesFromJSON()
67 *namesOut = std::move(traces); in LoadTraceNamesFromJSON()
/third_party/node/test/parallel/
H A Dtest-trace-events-async-hooks-dynamic.js43 const traces = JSON.parse(data).traceEvents;
56 const timeoutTraces = traces.filter(filterTimeoutTraces);
H A Dtest-trace-events-api.js154 const traces = JSON.parse(data.toString()).traceEvents
158 traces.length,
161 traces.forEach((trace) => {
H A Dtest-trace-events-async-hooks-worker.js50 const traces = JSON.parse(data).traceEvents;
63 const timeoutTraces = traces.filter(filterTimeoutTraces);
70 console.log('Threads with Timeout traces:', threads);
H A Dtest-trace-events-fs-async.js330 const traces = traceEvents.filter((item) => {
337 assert(traces.length > 0);
338 assert(traces.some((trace) => {
/third_party/mesa3d/src/util/perf/
H A Du_trace.c79 /* The number of traces this chunk contains so far: */
83 struct u_trace_event traces[TRACES_PER_CHUNK]; member
86 * into traces table
90 /* Array of u_trace_payload_buf referenced by traces[] elements.
502 const struct u_trace_event *evt = &chunk->traces[idx]; in process_chunk()
697 memcpy(&to_chunk->traces[to_chunk->num_traces], in u_trace_clone_append()
698 &from_chunk->traces[from_idx], in u_trace_clone_append()
737 memset(&current_chunk->traces[start_idx], 0, in u_trace_disable_event_range()
743 memset(&current_chunk->traces[start_idx], 0, in u_trace_disable_event_range()
770 chunk->traces[tp_id in u_trace_append()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/capture_replay_tests/
H A DCaptureReplayTests.cpp191 std::vector<std::string> traces; in run() local
196 if (!angle::LoadTraceNamesFromJSON(tracePathStream.str(), &traces)) in run()
202 for (const std::string &trace : traces) in run()
/third_party/node/deps/v8/tools/
H A Drun_perf.py157 "traces": [
178 self.traces = {}
183 if trace.name not in self.traces:
184 self.traces[trace.name] = {
191 existing_entry = self.traces[trace.name]
199 return trace.name in self.traces and self.traces[trace.name]['stddev'] != ''
220 'traces': list(self.traces.values()),
250 trace = self.traces
[all...]
/third_party/mbedtls/scripts/
H A Dlcov.sh24 -r Reset traces. Run this before re-testing to get fresh measurements.
58 # Reset the traces to 0.
/third_party/node/deps/v8/tools/unittests/
H A Drun_perf_test.py193 def _VerifyResults(self, suite, units, traces, file_name=None):
198 'stddev': trace['stddev']} for trace in traces], key=SORT_KEY),
199 sorted(self._LoadResults(file_name)['traces'], key=SORT_KEY))
370 ], key=SORT_KEY), sorted(self._LoadResults()['traces'], key=SORT_KEY))
470 'Not all traces have produced results. Can not compute total for '
608 ], key=SORT_KEY), sorted(results['traces'], key=SORT_KEY))
626 ], results['traces'])
644 ], results['traces'])
/third_party/mesa3d/src/amd/common/
H A Dac_sqtt.h79 struct ac_thread_trace_se traces[4]; member
H A Dac_rgp.c1166 const struct ac_thread_trace_se *se = &thread_trace->traces[i]; in ac_sqtt_dump_data()
/third_party/vixl/tools/test_generator/
H A Dgenerator.py489 #include "aarch32/traces/sim-...-a32.h"
490 #include "aarch32/traces/sim-...-a32.h"
496 "#include \"aarch32/traces/" + self.GetTraceFileName(mnemonic) + "\"\n"
691 # The MacroAssembler and negative assembler tests have no traces.
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DTracePerfTest.cpp7 // Performance test for ANGLE replaying traces.
452 // other issues. If this turns out to be a real issue with app traces, we can turn this into a in GenerateMipmapMinimizedProc()
1352 // renderpass to avoid breaking renderpass (performance reason). For app traces that does in drawBenchmark()
1937 std::vector<std::string> traces; in RegisterTraceTests() local
1938 if (!LoadTraceNamesFromJSON(tracesJsonPath, &traces)) in RegisterTraceTests()
1940 ERR() << "Unable to load traces from JSON file: " << tracesJsonPath; in RegisterTraceTests()
1945 for (const std::string &trace : traces) in RegisterTraceTests()
1995 // Enable limits when validating traces because we usually turn off capture. in RegisterTraceTests()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_sqtt.c133 /* Should be emitted last (it enables thread traces). */ in radv_emit_thread_trace_start()
700 thread_trace->traces[thread_trace->num_traces] = thread_trace_se; in radv_get_thread_trace()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sqtt.c130 /* Should be emitted last (it enables thread traces). */ in si_emit_thread_trace_start()
582 thread_trace->traces[se] = thread_trace_se; in si_get_thread_trace()
/third_party/node/deps/v8/src/profiler/
H A Dheap-snapshot-generator.cc2990 AllocationTraceTree* traces = tracker->trace_tree(); in SerializeTraceTree()
2991 SerializeTraceNode(traces->root()); in SerializeTraceTree()

Completed in 24 milliseconds