Home
last modified time | relevance | path

Searched refs:pb (Results 1 – 5 of 5) sorted by relevance

/test/dittosuite/src/
Dmultithreading_utils.cpp38 SchedAttr& SchedAttr::operator=(const dittosuiteproto::SchedAttr& pb) { in operator =() argument
43 sched_attr_.sched_flags = pb.flags(); in operator =()
45 switch (pb.attributes_case()) { in operator =()
47 switch (pb.other().policy()) { in operator =()
55 sched_attr_.sched_nice = pb.other().nice(); in operator =()
58 switch (pb.rt().policy()) { in operator =()
66 if (pb.rt().priority() < 1 || pb.rt().priority() > 99) { in operator =()
69 sched_attr_.sched_priority = pb.rt().priority(); in operator =()
73 sched_attr_.sched_runtime = pb.deadline().runtime(); in operator =()
74 sched_attr_.sched_deadline = pb.deadline().deadline(); in operator =()
[all …]
Dresult.cpp414 void PrintPb(const dittosuiteproto::Result &pb) { in PrintPb() argument
419 auto status = google::protobuf::util::MessageToJsonString(pb, &json, options); in PrintPb()
426 std::unique_ptr<Result> Result::FromPb(const dittosuiteproto::Result& pb) { in FromPb() argument
427 auto result = std::make_unique<Result>(pb.name(), 1); in FromPb()
429 for (const auto& m : pb.metrics()) { in FromPb()
435 for (const auto& r : pb.sub_result()) { in FromPb()
/test/dittosuite/include/ditto/
Dresult.h48 static std::unique_ptr<Result> FromPb(const dittosuiteproto::Result &pb);
93 void PrintPb(const dittosuiteproto::Result &pb);
Dmultithreading_utils.h48 SchedAttr& operator=(const dittosuiteproto::SchedAttr& pb);
/test/dittosuite/
DAndroid.bp46 schema/benchmark.pb.h.