Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/perf/
Devent_config_unittest.cc49 base::Optional<EventConfig> event_config = in TEST() local
52 ASSERT_TRUE(event_config.has_value()); in TEST()
53 ASSERT_TRUE(event_config->perf_attr() != nullptr); in TEST()
59 base::Optional<EventConfig> event_config = in TEST() local
62 ASSERT_TRUE(event_config.has_value()); in TEST()
63 ASSERT_GT(event_config->ring_buffer_pages(), 0u); in TEST()
64 ASSERT_TRUE(IsPowerOfTwo(event_config->ring_buffer_pages())); in TEST()
70 base::Optional<EventConfig> event_config = in TEST() local
73 ASSERT_TRUE(event_config.has_value()); in TEST()
74 ASSERT_EQ(event_config->ring_buffer_pages(), num_pages); in TEST()
[all …]
Dperf_producer.cc90 void WritePerfEventDefaultsPacket(const EventConfig& event_config, in WritePerfEventDefaultsPacket() argument
103 PERFETTO_DCHECK(event_config.perf_attr()->clockid == CLOCK_MONOTONIC_RAW); in WritePerfEventDefaultsPacket()
109 perf_event_attr* perf_attr = event_config.perf_attr(); in WritePerfEventDefaultsPacket()
117 const PerfCounter& timebase = event_config.timebase_event(); in WritePerfEventDefaultsPacket()
285 base::Optional<EventConfig> event_config = in StartDataSource() local
287 if (!event_config.has_value()) { in StartDataSource()
296 EventReader::ConfigureEvents(cpu, event_config.value()); in StartDataSource()
314 std::forward_as_tuple(event_config.value(), std::move(writer), in StartDataSource()
324 WritePerfEventDefaultsPacket(ds.event_config, ds.trace_writer.get()); in StartDataSource()
333 ds.event_config.kernel_frames()); in StartDataSource()
[all …]
Dperf_producer.h128 : event_config(std::move(_event_config)), in DataSourceState()
133 const EventConfig event_config; member
DBUILD.gn73 "event_config.cc",
74 "event_config.h",
/external/libevent/include/event2/
Devent.h295 struct event_config struct
467 struct event_config *event_config_new(void);
475 void event_config_free(struct event_config *cfg);
490 int event_config_avoid_method(struct event_config *cfg, const char *method);
609 int event_config_require_features(struct event_config *cfg, int feature);
618 int event_config_set_flag(struct event_config *cfg, int flag);
630 int event_config_set_num_cpus_hint(struct event_config *cfg, int cpus);
661 int event_config_set_max_dispatch_interval(struct event_config *cfg,
678 struct event_base *event_base_new_with_config(const struct event_config *);
/external/libevent/test/
Dtest-closed.c75 struct event_config *cfg; in main()
Dbench_http.c87 struct event_config *cfg = event_config_new(); in main()
Dbench.c153 struct event_config *cfg = NULL;
Dtest-ratelim.c282 struct event_config *cfg = NULL; in timer_bias_calculate()
340 struct event_config *base_cfg; in test_ratelimiting()
Dregress_thread.c457 struct event_config *cfg = NULL; in thread_deferred_cb_skew()
Dregress.c2568 struct event_config *cfg = NULL; in test_methods()
2630 struct event_config *cfg = NULL; in test_base_features()
2692 struct event_config *cfg = NULL; in test_base_environ()
3061 struct event_config *cfg = NULL; in test_mm_functions()
3289 struct event_config *cfg = NULL; in test_gettimeofday_cached()
/external/libevent/
Devent.c523 struct event_config *cfg = event_config_new(); in event_base_new()
534 event_config_is_avoided_method(const struct event_config *cfg, in event_config_is_avoided_method()
605 event_base_new_with_config(const struct event_config *cfg) in event_base_new_with_config()
1135 struct event_config *
1138 struct event_config *cfg = mm_calloc(1, sizeof(*cfg)); in event_config_new()
1160 event_config_free(struct event_config *cfg) in event_config_free()
1172 event_config_set_flag(struct event_config *cfg, int flag) in event_config_set_flag()
1181 event_config_avoid_method(struct event_config *cfg, const char *method) in event_config_avoid_method()
1198 event_config_require_features(struct event_config *cfg, in event_config_require_features()
1208 event_config_set_num_cpus_hint(struct event_config *cfg, int cpus) in event_config_set_num_cpus_hint()
[all …]
Devent-internal.h359 struct event_config { struct
Dwhatsnew-2.0.txt236 event_config. If an event_base is created with a lock, it is safe to call
255 The corresponding event_config feature is EV_FEATURE_ET; see 2.4 for more
Dwhatsnew-2.1.txt84 constructing the event_config, or set the EVENT_PRECISE_TIMER
DChangeLog-2.01090 …o Make sure that an event_config's flags field is always initialized to 0. [Bug report from Victor…
DChangeLog1948 o Add event_config function to limit time/callbacks between calls
/external/libevent/sample/
Dhttp-server.c448 struct event_config *cfg = NULL; in main()
/external/perfetto/
DAndroid.bp7209 "src/profiling/perf/event_config.cc",