/third_party/python/Lib/test/ |
H A D | test_bdb.py | 20 control to the tracer [1] do not trigger a tracer event and in 71 # state of the tracer is printed after running each set_*() method of the test 165 """A tracer for testing the bdb module.""" 368 # The following set methods give back control to the tracer. 383 # The following set methods do not give back control to the tracer and 419 self.tracer = Tracer(test_case.expect_set, skip=skip, 427 return self.tracer 434 if self.tracer.set_list: 437 self.tracer [all...] |
H A D | test_trace.py | 129 self.tracer = Trace(count=1, trace=0, countfuncs=0, countcallers=0) 133 result = self.tracer.runfunc(traced_func_linear, 2, 5) 142 self.assertEqual(self.tracer.results().counts, expected) 145 self.tracer.runfunc(traced_func_loop, 2, 3) 154 self.assertEqual(self.tracer.results().counts, expected) 157 self.tracer.runfunc(traced_func_importing, 2, 5) 166 self.assertEqual(self.tracer.results().counts, expected) 169 self.tracer.runfunc(traced_func_calling_generator) 181 self.assertEqual(self.tracer.results().counts, expected) 184 self.tracer [all...] |
H A D | test_cmd.py | 253 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,], 255 tracer.run('import importlib; importlib.reload(cmd); test_main()') 256 r=tracer.results()
|
H A D | test_sys_settrace.py | 357 tracer = self.make_tracer() 358 sys.settrace(tracer.trace) 362 tracer.events, events) 368 tracer = self.make_tracer() 369 func(tracer.trace) 372 tracer.events, func.events) 424 tracer = self.make_tracer() 425 sys.settrace(tracer.traceWithGenexp) 429 tracer.events, generator_example.events) 556 def run(tracer) [all...] |
/third_party/skia/src/utils/ |
H A D | SkEventTracer.cpp | 42 // We prefer gUserTracer if it's been set, otherwise we fall back on a default tracer; 45 bool SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() argument 47 if (!gUserTracer.compare_exchange_strong(expected, tracer)) { in SetInstance() 48 delete tracer; in SetInstance() 56 if (auto tracer = gUserTracer.load(std::memory_order_acquire)) { in GetInstance() 57 return tracer; in GetInstance()
|
/third_party/node/test/parallel/ |
H A D | test-eventemitter-asyncresource.js | 60 const tracer = makeHook(['Foo']); 70 deepStrictEqual([foo.asyncId], [...tracer.ids()]); 78 deepStrictEqual(tracer.done(), new Set([ 95 const tracer = makeHook(['ResourceName']); 102 deepStrictEqual(tracer.done(), new Set([ 116 const tracer = makeHook(['ResourceName']); 123 deepStrictEqual(tracer.done(), new Set([
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | code-tracer.h | 44 explicit Scope(CodeTracer* tracer) : tracer_(tracer) { tracer->OpenFile(); } in Scope() argument 55 explicit StreamScope(CodeTracer* tracer) : Scope(tracer) { in StreamScope() argument
|
/third_party/node/deps/v8/src/heap/ |
H A D | embedder-tracing.cc | 11 #include "src/heap/gc-tracer.h" 17 void LocalEmbedderHeapTracer::SetRemoteTracer(EmbedderHeapTracer* tracer) { in SetRemoteTracer() argument 21 remote_tracer_ = tracer; in SetRemoteTracer() 22 default_embedder_roots_handler_.SetTracer(tracer); in SetRemoteTracer() 88 isolate_->heap()->tracer()->RecordEmbedderSpeed(allocated_size, time); in UpdateRemoteStats() 116 LocalEmbedderHeapTracer* tracer) in ProcessingScope() 117 : tracer_(tracer), wrapper_descriptor_(tracer->wrapper_descriptor_) { in ProcessingScope() 115 ProcessingScope( LocalEmbedderHeapTracer* tracer) ProcessingScope() argument
|
H A D | gc-tracer.h | 33 #define TRACE_GC(tracer, scope_id) \ 35 tracer, GCTracer::Scope::ScopeId(scope_id), ThreadKind::kMain); \ 39 #define TRACE_GC1(tracer, scope_id, thread_kind) \ 41 tracer, GCTracer::Scope::ScopeId(scope_id), thread_kind); \ 45 #define TRACE_GC_EPOCH(tracer, scope_id, thread_kind) \ 47 tracer, GCTracer::Scope::ScopeId(scope_id), thread_kind); \ 50 "epoch", tracer->CurrentEpoch(scope_id)) 96 V8_INLINE Scope(GCTracer* tracer, ScopeId scope, ThreadKind thread_kind); 479 // Pointer to the heap that owns this tracer. 482 // Current tracer even [all...] |
H A D | incremental-marking.cc | 13 #include "src/heap/gc-tracer-inl.h" 14 #include "src/heap/gc-tracer.h" 69 TRACE_GC(heap()->tracer(), GCTracer::Scope::MC_INCREMENTAL_LAYOUT_CHANGE); in MarkBlackAndVisitObjectDueToLayoutChange() 163 heap_->tracer()->CurrentEpoch(GCTracer::Scope::MC_INCREMENTAL_START)); in Start() 164 TRACE_GC_EPOCH(heap()->tracer(), GCTracer::Scope::MC_INCREMENTAL_START, in Start() 166 heap_->tracer()->NotifyIncrementalMarkingStart(); in Start() 261 TRACE_GC(heap()->tracer(), in StartMarking() 293 TRACE_GC(heap()->tracer(), in StartMarking() 419 TRACE_GC(heap()->tracer(), GCTracer::Scope::MC_INCREMENTAL_FINALIZE_BODY); in FinalizeIncrementally() 542 TRACE_GC(heap()->tracer(), GCTrace in EmbedderStep() [all...] |
H A D | embedder-tracing.h | 32 void SetTracer(EmbedderHeapTracer* tracer) { tracer_ = tracer; } in SetTracer() argument 63 explicit ProcessingScope(LocalEmbedderHeapTracer* tracer); 102 void SetRemoteTracer(EmbedderHeapTracer* tracer);
|
H A D | scavenger.cc | 11 #include "src/heap/gc-tracer-inl.h" 12 #include "src/heap/gc-tracer.h" 212 TRACE_GC_EPOCH(outer_->heap_->tracer(), in Run() 323 heap_->tracer(), in CollectGarbage() 330 TRACE_GC(heap_->tracer(), GCTracer::Scope::SCAVENGER_SCAVENGE_ROOTS); in CollectGarbage() 347 TRACE_GC(heap_->tracer(), GCTracer::Scope::SCAVENGER_SCAVENGE_PARALLEL); in CollectGarbage() 367 TRACE_GC(heap_->tracer(), in CollectGarbage() 383 TRACE_GC(heap_->tracer(), GCTracer::Scope::SCAVENGER_SCAVENGE_FINALIZE); in CollectGarbage() 398 TRACE_GC(heap_->tracer(), GCTracer::Scope::SCAVENGER_SCAVENGE_UPDATE_REFS); in CollectGarbage() 429 TRACE_GC(heap_->tracer(), GCTrace in CollectGarbage() [all...] |
H A D | mark-compact.cc | 27 #include "src/heap/gc-tracer-inl.h" 28 #include "src/heap/gc-tracer.h" 701 TRACE_GC_EPOCH(heap()->tracer(), GCTracer::Scope::MC_COMPLETE_SWEEPING, in EnsureSweepingCompleted() 712 heap()->tracer()->NotifySweepingCompleted(); in EnsureSweepingCompleted() 733 !heap()->tracer()->IsSweepingInProgress()); in EnsureSweepingCompleted() 774 heap()->tracer()->CompactionSpeedInBytesPerMillisecond(); in ComputeEvacuationHeuristics() 982 TRACE_GC(heap()->tracer(), GCTracer::Scope::MC_MARK_EMBEDDER_PROLOGUE); in Prepare() 990 TRACE_GC(heap()->tracer(), GCTracer::Scope::MC_MARK_EMBEDDER_PROLOGUE); in Prepare() 1049 TRACE_GC(heap()->tracer(), GCTracer::Scope::MC_FINISH); in Finish() 1096 TRACE_GC(heap()->tracer(), GCTrace in SweepArrayBufferExtensions() [all...] |
H A D | heap.cc | 50 #include "src/heap/gc-tracer-inl.h" 51 #include "src/heap/gc-tracer.h" 53 #include "src/heap/heap-layout-tracer.h" 1022 TRACE_GC(tracer(), GCTracer::Scope::HEAP_PROLOGUE); in GarbageCollectionPrologue() 1067 TRACE_GC(tracer(), GCTracer::Scope::HEAP_PROLOGUE_SAFEPOINT); in GarbageCollectionPrologueInSafepoint() 1385 TRACE_GC(tracer(), GCTracer::Scope::HEAP_EPILOGUE_SAFEPOINT); in GarbageCollectionEpilogueInSafepoint() 1445 TRACE_GC(tracer(), GCTracer::Scope::HEAP_EPILOGUE_REDUCE_NEW_SPACE); in GarbageCollectionEpilogueInSafepoint() 1462 TRACE_GC(tracer(), GCTracer::Scope::HEAP_EPILOGUE); in GarbageCollectionEpilogue() 1803 TRACE_GC(tracer(), GCTracer::Scope::HEAP_EXTERNAL_PROLOGUE); in CollectGarbage() 1818 tracer() in CollectGarbage() 5994 SetEmbedderHeapTracer(EmbedderHeapTracer* tracer) SetEmbedderHeapTracer() argument [all...] |
/third_party/python/Lib/turtledemo/ |
H A D | clock.py | 102 tracer(False) # Terminator can occur here 115 tracer(True) 121 tracer(False) 123 tracer(True)
|
H A D | lindenmayer.py | 72 tracer(1,0) 108 tracer(3,0) 113 tracer(1)
|
H A D | nim.py | 122 self.screen.tracer(False) 132 self.screen.tracer(True) 135 self.screen.tracer(False) 144 self.screen.tracer(True) 147 self.screen.tracer(False) 155 self.screen.tracer(True)
|
H A D | penrose.py | 117 tracer(0) 126 tracer(1) 140 tracer(0) 143 tracer(1)
|
H A D | forest.py | 14 from turtle import Turtle, colormode, tracer, mainloop namespace 87 tracer(75,0) 102 tracer(1,10)
|
/third_party/node/deps/v8/src/heap/cppgc-js/ |
H A D | cpp-heap.cc | 46 #include "src/heap/gc-tracer.h" 302 auto* tracer = GetIsolate()->heap()->tracer(); in AddMainThreadEvent() local 306 tracer->NotifyYoungCppGCCompleted(); in AddMainThreadEvent() 310 tracer->NotifyFullCppGCCompleted(); in AddMainThreadEvent() 638 auto* tracer = isolate_->heap()->local_embedder_heap_tracer(); in TraceEpilogue() local 639 DCHECK_NOT_NULL(tracer); in TraceEpilogue() 640 tracer->UpdateRemoteStats( in TraceEpilogue() 689 // Notify GC tracer that CppGC started young GC cycle. in RunMinorGC() 690 isolate_->heap()->tracer() in RunMinorGC() 733 auto* const tracer = isolate_->heap()->local_embedder_heap_tracer(); ReportBufferedAllocationSizeIfPossible() local [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | objc.rs | 322 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, _: &()) in trace() 327 method.signature.trace(context, tracer, &()); in trace() 331 class_method.signature.trace(context, tracer, &()); in trace() 335 tracer.visit(*protocol); in trace()
|
H A D | comp.rs | 214 fn trace<T>(&self, _: &BindgenContext, tracer: &mut T, _: &()) in trace() 220 tracer.visit_kind(data.ty.into(), EdgeKind::Field); in trace() 224 tracer.visit_kind(bf.ty().into(), EdgeKind::Field); in trace() 847 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, _: &()) in trace() 855 tracer.visit_kind(f.ty().into(), EdgeKind::Field); in trace() 860 f.trace(context, tracer, &()); in trace() 1850 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, item: &Item) in trace() 1855 tracer.visit_kind(p.into(), EdgeKind::TemplateParameterDefinition); in trace() 1859 tracer.visit_kind(ty.into(), EdgeKind::InnerType); in trace() 1863 tracer in trace() [all...] |
H A D | ty.rs | 1231 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, item: &Item) in trace() 1250 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace() 1253 tracer.visit_kind(inner.into(), EdgeKind::TypeReference); in trace() 1255 tracer.visit_kind( in trace() 1262 inst.trace(context, tracer, &()); in trace() 1264 TypeKind::Comp(ref ci) => ci.trace(context, tracer, item), in trace() 1265 TypeKind::Function(ref sig) => sig.trace(context, tracer, &()), in trace() 1268 tracer.visit(repr.into()); in trace() 1272 tracer.visit(id); in trace() 1276 interface.trace(context, tracer, in trace() [all...] |
H A D | template.rs | 332 fn trace<T>(&self, _ctx: &BindgenContext, tracer: &mut T, _: &()) in trace() 336 tracer in trace() 339 tracer.visit_kind(arg.into(), EdgeKind::TemplateArgument); in trace()
|
/third_party/FreeBSD/contrib/libexecinfo/ |
H A D | unwind.c | 74 tracer(struct _Unwind_Context *ctx, void *arg)
in tracer() function 98 _Unwind_Backtrace(tracer, &ctx);
in backtrace()
|