6 #ifndef __SHOW_SYSTEM_TIMING_H__ 7 #define __SHOW_SYSTEM_TIMING_H__ 26 options(std::map<std::string, std::string>())
46 std::map<std::string, std::string>
options;
52 template<>
struct codec_traits<
gpudb::ShowSystemTimingRequest>
61 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
63 const std::vector<size_t> fo = rd->fieldOrder();
65 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
102 jobids(std::vector<std::string>()),
103 info(std::map<std::string, std::string>())
125 std::map<std::string, std::string>
info;
131 template<>
struct codec_traits<
gpudb::ShowSystemTimingResponse>
137 ::avro::encode(e, v.
jobids);
138 ::avro::encode(e, v.
info);
143 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
145 const std::vector<size_t> fo = rd->fieldOrder();
147 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
160 ::avro::decode(d, v.
jobids);
164 ::avro::decode(d, v.
info);
176 ::avro::decode(d, v.
jobids);
177 ::avro::decode(d, v.
info);
183 #endif // __SHOW_SYSTEM_TIMING_H__
std::vector< float > timeInMs
List of time (in ms) of the recent requests.
A set of parameters for GPUdb::showSystemTiming.
std::map< std::string, std::string > options
Optional parameters, currently unused.
ShowSystemTimingRequest()
Constructs a ShowSystemTimingRequest object with default parameters.
std::vector< std::string > jobids
List of the internal job ids for the recent requests.
ShowSystemTimingResponse()
Constructs a ShowSystemTimingResponse object with default parameters.
std::vector< std::string > endpoints
List of recently called endpoints, most recent first.
ShowSystemTimingRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowSystemTimingRequest object with the specified parameters.
std::map< std::string, std::string > info
Additional information.
A set of results returned by GPUdb::showSystemTiming.