Searched refs:event_config (Results 1 – 19 of 19) sorted by relevance
/external/perfetto/src/profiling/perf/ |
D | event_config_unittest.cc | 49 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 …]
|
D | perf_producer.cc | 90 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 …]
|
D | perf_producer.h | 128 : event_config(std::move(_event_config)), in DataSourceState() 133 const EventConfig event_config; member
|
D | BUILD.gn | 73 "event_config.cc", 74 "event_config.h",
|
/external/libevent/include/event2/ |
D | event.h | 295 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/ |
D | test-closed.c | 75 struct event_config *cfg; in main()
|
D | bench_http.c | 87 struct event_config *cfg = event_config_new(); in main()
|
D | bench.c | 153 struct event_config *cfg = NULL;
|
D | test-ratelim.c | 282 struct event_config *cfg = NULL; in timer_bias_calculate() 340 struct event_config *base_cfg; in test_ratelimiting()
|
D | regress_thread.c | 457 struct event_config *cfg = NULL; in thread_deferred_cb_skew()
|
D | regress.c | 2568 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/ |
D | event.c | 523 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 …]
|
D | event-internal.h | 359 struct event_config { struct
|
D | whatsnew-2.0.txt | 236 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
|
D | whatsnew-2.1.txt | 84 constructing the event_config, or set the EVENT_PRECISE_TIMER
|
D | ChangeLog-2.0 | 1090 …o Make sure that an event_config's flags field is always initialized to 0. [Bug report from Victor…
|
D | ChangeLog | 1948 o Add event_config function to limit time/callbacks between calls
|
/external/libevent/sample/ |
D | http-server.c | 448 struct event_config *cfg = NULL; in main()
|
/external/perfetto/ |
D | Android.bp | 7209 "src/profiling/perf/event_config.cc",
|