Searched refs:pb (Results 1 – 5 of 5) sorted by relevance
38 SchedAttr& SchedAttr::operator=(const dittosuiteproto::SchedAttr& pb) { in operator =() argument43 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 …]
414 void PrintPb(const dittosuiteproto::Result &pb) { in PrintPb() argument419 auto status = google::protobuf::util::MessageToJsonString(pb, &json, options); in PrintPb()426 std::unique_ptr<Result> Result::FromPb(const dittosuiteproto::Result& pb) { in FromPb() argument427 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()
48 static std::unique_ptr<Result> FromPb(const dittosuiteproto::Result &pb);93 void PrintPb(const dittosuiteproto::Result &pb);
48 SchedAttr& operator=(const dittosuiteproto::SchedAttr& pb);
46 schema/benchmark.pb.h.