Home
last modified time | relevance | path

Searched refs:tracer (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/grpc/test/core/channel/
Dchannel_trace_test.cc84 void AddSimpleTrace(ChannelTrace* tracer) { in AddSimpleTrace() argument
85 tracer->AddTraceEvent(ChannelTrace::Severity::Info, in AddSimpleTrace()
90 void ValidateChannelTraceCustom(ChannelTrace* tracer, size_t num_events_logged, in ValidateChannelTraceCustom() argument
92 Json json = tracer->RenderJson(); in ValidateChannelTraceCustom()
99 void ValidateChannelTrace(ChannelTrace* tracer, size_t num_events_logged) { in ValidateChannelTrace() argument
100 ValidateChannelTraceCustom(tracer, num_events_logged, num_events_logged); in ValidateChannelTrace()
130 ChannelTrace tracer(kEventListMemoryLimit); in TEST() local
131 AddSimpleTrace(&tracer); in TEST()
132 AddSimpleTrace(&tracer); in TEST()
133 tracer.AddTraceEvent(ChannelTrace::Severity::Info, in TEST()
[all …]
/third_party/python/Lib/test/
Dtest_bdb.py418 self.tracer = Tracer(test_case.expect_set, skip=skip,
426 return self.tracer
433 if self.tracer.set_list:
436 self.tracer.expect_set_no)
529 with TracerRun(test, skip=skip) as tracer:
530 tracer.runcall(tfunc_import)
594 with TracerRun(self) as tracer:
595 tracer.runcall(tfunc_main)
608 with TracerRun(self) as tracer:
609 tracer.runcall(tfunc_main)
[all …]
Dtest_trace.py123 self.tracer = Trace(count=1, trace=0, countfuncs=0, countcallers=0)
127 result = self.tracer.runfunc(traced_func_linear, 2, 5)
136 self.assertEqual(self.tracer.results().counts, expected)
139 self.tracer.runfunc(traced_func_loop, 2, 3)
148 self.assertEqual(self.tracer.results().counts, expected)
151 self.tracer.runfunc(traced_func_importing, 2, 5)
160 self.assertEqual(self.tracer.results().counts, expected)
163 self.tracer.runfunc(traced_func_calling_generator)
175 self.assertEqual(self.tracer.results().counts, expected)
178 self.tracer.runfunc(traced_caller_list_comprehension)
[all …]
Dtest_sys_settrace.py354 tracer = self.make_tracer()
355 sys.settrace(tracer.trace)
359 tracer.events, events)
365 tracer = self.make_tracer()
366 func(tracer.trace)
369 tracer.events, func.events)
421 tracer = self.make_tracer()
422 sys.settrace(tracer.traceWithGenexp)
426 tracer.events, generator_example.events)
553 def run(tracer): argument
[all …]
Dtest_cmd.py229 tracer=trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
231 tracer.run('import importlib; importlib.reload(cmd); test_main()')
232 r=tracer.results()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dleaks.c78 GstTracer *tracer = NULL; in get_tracer_by_name() local
83 tracer = l->data; in get_tracer_by_name()
86 return tracer; in get_tracer_by_name()
126 GstTracer *tracer = get_tracer_by_name ("plain"); in GST_START_TEST() local
127 fail_unless (tracer); in GST_START_TEST()
128 g_signal_emit_by_name (tracer, "log-live-objects"); in GST_START_TEST()
129 gst_object_unref (tracer); in GST_START_TEST()
180 GstTracer *tracer = get_tracer_by_name ("plain"); in GST_START_TEST() local
181 fail_unless (tracer); in GST_START_TEST()
182 g_signal_emit_by_name (tracer, "get-live-objects", &info); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/plugins/tracers/
Dgstlog.c349 GstTracer *tracer = GST_TRACER (self); in gst_log_tracer_init() local
351 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_log_tracer_init()
353 gst_tracing_register_hook (tracer, "pad-push-post", in gst_log_tracer_init()
355 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_log_tracer_init()
357 gst_tracing_register_hook (tracer, "pad-push-list-post", in gst_log_tracer_init()
359 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_log_tracer_init()
361 gst_tracing_register_hook (tracer, "pad-pull-range-post", in gst_log_tracer_init()
363 gst_tracing_register_hook (tracer, "pad-push-event-pre", in gst_log_tracer_init()
365 gst_tracing_register_hook (tracer, "pad-push-event-post", in gst_log_tracer_init()
367 gst_tracing_register_hook (tracer, "pad-query-pre", in gst_log_tracer_init()
[all …]
Dgstleaks.h81 GstStructure * (*get_live_objects) (GstLeaksTracer *tracer);
82 void (*log_live_objects) (GstLeaksTracer *tracer);
83 void (*activity_start_tracking) (GstLeaksTracer *tracer);
84 GstStructure * (*activity_get_checkpoint) (GstLeaksTracer *tracer);
85 void (*activity_log_checkpoint) (GstLeaksTracer *tracer);
86 void (*activity_stop_tracking) (GstLeaksTracer *tracer);
Dgstleaks.c409 mini_object_created_cb (GstTracer * tracer, GstClockTime ts, in mini_object_created_cb() argument
412 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in mini_object_created_cb()
418 object_created_cb (GstTracer * tracer, GstClockTime ts, GstObject * object) in object_created_cb() argument
420 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_created_cb()
462 object_reffed_cb (GstTracer * tracer, GstClockTime ts, GstObject * object, in object_reffed_cb() argument
465 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_reffed_cb()
472 object_unreffed_cb (GstTracer * tracer, GstClockTime ts, GstObject * object, in object_unreffed_cb() argument
475 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in object_unreffed_cb()
482 mini_object_reffed_cb (GstTracer * tracer, GstClockTime ts, in mini_object_reffed_cb() argument
485 GstLeaksTracer *self = GST_LEAKS_TRACER_CAST (tracer); in mini_object_reffed_cb()
[all …]
Dgstlatency.c335 do_push_buffer_pre (GstTracer * tracer, guint64 ts, GstPad * pad) in do_push_buffer_pre() argument
337 GstLatencyTracer *self = (GstLatencyTracer *) tracer; in do_push_buffer_pre()
348 do_pull_range_pre (GstTracer * tracer, guint64 ts, GstPad * pad) in do_pull_range_pre() argument
350 GstLatencyTracer *self = (GstLatencyTracer *) tracer; in do_pull_range_pre()
483 do_query_post (GstLatencyTracer * tracer, GstClockTime ts, GstPad * pad, in do_query_post() argument
487 if ((tracer->flags & GST_LATENCY_TRACER_FLAG_REPORTED_ELEMENT) && in do_query_post()
740 GstTracer *tracer = GST_TRACER (self); in gst_latency_tracer_init() local
748 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_latency_tracer_init()
750 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_latency_tracer_init()
757 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_latency_tracer_init()
[all …]
Dgststats.c790 GstTracer *tracer = GST_TRACER (self); in gst_stats_tracer_init() local
792 gst_tracing_register_hook (tracer, "pad-push-pre", in gst_stats_tracer_init()
794 gst_tracing_register_hook (tracer, "pad-push-post", in gst_stats_tracer_init()
796 gst_tracing_register_hook (tracer, "pad-push-list-pre", in gst_stats_tracer_init()
798 gst_tracing_register_hook (tracer, "pad-push-list-post", in gst_stats_tracer_init()
800 gst_tracing_register_hook (tracer, "pad-pull-range-pre", in gst_stats_tracer_init()
802 gst_tracing_register_hook (tracer, "pad-pull-range-post", in gst_stats_tracer_init()
804 gst_tracing_register_hook (tracer, "pad-push-event-pre", in gst_stats_tracer_init()
806 gst_tracing_register_hook (tracer, "element-new", in gst_stats_tracer_init()
808 gst_tracing_register_hook (tracer, "element-post-message-pre", in gst_stats_tracer_init()
[all …]
Dgstfactories.c181 GstTracer *tracer = GST_TRACER (self); in gst_factories_tracer_init() local
183 gst_tracing_register_hook (tracer, "element-new", in gst_factories_tracer_init()
185 gst_tracing_register_hook (tracer, "plugin-feature-loaded", in gst_factories_tracer_init()
/third_party/gstreamer/gstreamer/gst/
Dgsttracerutils.c115 GstTracer *tracer; in _priv_gst_tracing_init() local
120 tracer = g_object_new (factory->type, "params", params, NULL); in _priv_gst_tracing_init()
123 gst_object_ref_sink (tracer); in _priv_gst_tracing_init()
126 gst_object_unref (tracer); in _priv_gst_tracing_init()
155 gst_object_unref (hook->tracer); in _priv_gst_tracing_deinit()
166 gst_tracing_register_hook_id (GstTracer * tracer, GQuark detail, GCallback func) in gst_tracing_register_hook_id() argument
171 hook->tracer = gst_object_ref (tracer); in gst_tracing_register_hook_id()
193 gst_tracing_register_hook (GstTracer * tracer, const gchar * detail, in gst_tracing_register_hook() argument
196 gst_tracing_register_hook_id (tracer, g_quark_try_string (detail), func); in gst_tracing_register_hook()
227 if (g_list_index (tracers, hook->tracer) >= 0) in gst_tracing_get_active_tracers()
[all …]
Dgsttracer.c71 GstTracer *tracer = GST_TRACER (object); in gst_tracer_dispose() local
72 g_free (tracer->priv->params); in gst_tracer_dispose()
92 gst_tracer_init (GstTracer * tracer) in gst_tracer_init() argument
94 tracer->priv = gst_tracer_get_instance_private (tracer); in gst_tracer_init()
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dtracing.sh11 tracer=$1
20 echo "testing $tracer on $file"
29 echo "$tracer"
30 GST_DEBUG="GST_TRACER:7" GST_TRACERS="$tracer" test
34 GST_TRACERS="$tracer" test
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h191 TraceFlag* tracer() const { return tracer_; } in tracer() function
204 SubchannelList(LoadBalancingPolicy* policy, TraceFlag* tracer,
242 if (GRPC_TRACE_FLAG_ENABLED(*subchannel_list_->tracer())) { in OnConnectivityStateChange()
247 subchannel_list_->tracer()->name(), subchannel_list_->policy(), in OnConnectivityStateChange()
286 if (GRPC_TRACE_FLAG_ENABLED(*subchannel_list_->tracer())) { in UnrefSubchannelLocked()
290 subchannel_list_->tracer()->name(), subchannel_list_->policy(), in UnrefSubchannelLocked()
309 if (GRPC_TRACE_FLAG_ENABLED(*subchannel_list_->tracer())) { in StartConnectivityWatchLocked()
313 subchannel_list_->tracer()->name(), subchannel_list_->policy(), in StartConnectivityWatchLocked()
329 if (GRPC_TRACE_FLAG_ENABLED(*subchannel_list_->tracer())) { in CancelConnectivityWatchLocked()
333 subchannel_list_->tracer()->name(), subchannel_list_->policy(), in CancelConnectivityWatchLocked()
[all …]
/third_party/skia/src/utils/
DSkEventTracer.cpp45 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() local
57 return tracer; in GetInstance()
/third_party/flutter/skia/src/utils/
DSkEventTracer.cpp45 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() local
57 return tracer; in GetInstance()
/third_party/flutter/engine/flutter/shell/common/
Dskia_event_tracer_impl.cc116 FlutterEventTracer* tracer = static_cast<FlutterEventTracer*>(user_data); in enableSkiaTracingCallback() local
117 tracer->enable(); in enableSkiaTracingCallback()
124 auto tracer = new FlutterEventTracer(enabled); in InitSkiaEventTracer() local
127 static_cast<void*>(tracer)); in InitSkiaEventTracer()
130 SkEventTracer::SetInstance(tracer); in InitSkiaEventTracer()
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/
Dftrace_current_tracer.sh21 for tracer in `cat "$TRACING_PATH"/available_tracers`
23 if [ "$tracer" = mmiotrace ]; then
27 echo $tracer > "$TRACING_PATH"/current_tracer 2> /dev/null
/third_party/python/Lib/turtledemo/
Dclock.py102 tracer(False) # Terminator can occur here
112 tracer(True)
116 tracer(True)
122 tracer(False)
124 tracer(True)
Dlindenmayer.py72 tracer(1,0)
108 tracer(3,0)
113 tracer(1)
Dnim.py122 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)
Dpenrose.py117 tracer(0)
126 tracer(1)
140 tracer(0)
143 tracer(1)
/third_party/boost/libs/coroutine/example/asymmetric/
Dchaining.cpp132 coro_t::pull_type tracer(boost::bind(trace, _1, boost::ref(reader))); in main() local
133 BOOST_FOREACH(std::string line, tracer) in main()
144 coro_t::pull_type tracer(boost::bind(trace, _1, boost::ref(tokenizer))); in main() local
145 BOOST_FOREACH(std::string token, tracer) in main()
157 coro_t::pull_type tracer(boost::bind(trace, _1, boost::ref(filter))); in main() local
158 BOOST_FOREACH(std::string token, tracer) in main()

1234