6 #ifndef __SHOW_SYSTEM_TIMING_H__
7 #define __SHOW_SYSTEM_TIMING_H__
28 options(std::map<std::string, std::string>())
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::ShowSystemTimingRequest>
59 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
61 const std::vector<size_t> fo = rd->fieldOrder();
63 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
105 jobids(std::vector<std::string>()),
106 info(std::map<std::string, std::string>())
113 std::map<std::string, std::string>
info;
119 template<>
struct codec_traits<gpudb::ShowSystemTimingResponse>
125 ::avro::encode(e, v.
jobids);
126 ::avro::encode(e, v.
info);
131 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
133 const std::vector<size_t> fo = rd->fieldOrder();
135 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
148 ::avro::decode(d, v.
jobids);
152 ::avro::decode(d, v.
info);
164 ::avro::decode(d, v.
jobids);
165 ::avro::decode(d, v.
info);
std::vector< float > timeInMs
A set of input parameters for const.
std::map< std::string, std::string > options
ShowSystemTimingRequest()
Constructs a ShowSystemTimingRequest object with default parameter values.
std::vector< std::string > jobids
ShowSystemTimingResponse()
Constructs a ShowSystemTimingResponse object with default parameter values.
std::vector< std::string > endpoints
ShowSystemTimingRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowSystemTimingRequest object with the specified parameters.
std::map< std::string, std::string > info
A set of output parameters for const.