Home
last modified time | relevance | path

Searched refs:message_size_ (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/test/
Dfake_producer.cc74 message_size_ = source_config.for_testing().message_size(); in StartDataSource()
93 PERFETTO_CHECK(message_size_ > 1); in ProduceEventBatch()
95 static_cast<char*>(malloc(message_size_))); in ProduceEventBatch()
96 memset(payload.get(), '.', message_size_); in ProduceEventBatch()
97 payload.get()[message_size_ - 1] = 0; in ProduceEventBatch()
113 handle->set_for_testing()->set_str(payload.get(), message_size_); in ProduceEventBatch()
Dfake_producer.h67 uint32_t message_size_ = 0; variable
/external/perfetto/src/tracing/core/
Dtest_config.cc46 (seed_ == other.seed_) && (message_size_ == other.message_size_) && in operator ==()
66 static_assert(sizeof(message_size_) == sizeof(proto.message_size()), in FromProto()
68 message_size_ = static_cast<decltype(message_size_)>(proto.message_size()); in FromProto()
98 static_assert(sizeof(message_size_) == sizeof(proto->message_size()), in ToProto()
101 static_cast<decltype(proto->message_size())>(message_size_)); in ToProto()
/external/libchrome/mojo/core/
Dmessage_pipe_perftest.cc33 MessagePipePerfTest() : message_count_(0), message_size_(0) {} in MessagePipePerfTest()
37 message_size_ = message_size; in SetUpMeasurement()
69 static_cast<unsigned>(message_size_)); in Measure()
123 size_t message_size_; member in mojo::core::__anon53c8f9cc0111::MessagePipePerfTest
Dmessage_pipe_dispatcher.cc72 message_size_ = message->user_payload_size(); in Match()
76 size_t message_size() const { return message_size_; } in message_size()
79 size_t message_size_ = 0; member in mojo::core::PeekSizeMessageFilter
/external/perfetto/include/perfetto/tracing/core/
Dtest_config.h157 uint32_t message_size() const { return message_size_; } in message_size()
158 void set_message_size(uint32_t value) { message_size_ = value; } in set_message_size()
172 uint32_t message_size_ = {}; variable
/external/libchrome/ipc/
Dipc_mojo_perftest.cc128 : message_size_(size), message_count_(count) {} in PingPongTestParams()
130 size_t message_size() const { return message_size_; } in message_size()
134 size_t message_size_; member in IPC::__anon801090f90111::PingPongTestParams