Support standard deviation and json output for job stats

In the job stats, in addition to the max, min and average,
it will also display the standard deviation.

A new option --json is added to the rdci to output the results
in json format.

In the job stats, using the GMT time instead of timestamp
for start and end time.

Change-Id: If245c4fc4854a1dc867f97ff5aa9112af7962eca
Этот коммит содержится в:
Bill(Shuzhou) Liu authored and Chris Freehill committed 2020-08-17 14:09:37 -05:00
1 родитель 9efb55b06f
Коммит e6d910f67a
17 files changed
+513 -110

No files matched your search

+7
Просмотреть файл
@@ -39,7 +39,11 @@ class RdciSubSystem {
virtual void process() = 0;
virtual ~RdciSubSystem();
bool is_json_output() const;
protected:
void set_json_output(bool is_json);
std::vector<std::string> split_string(const std::string& s,
char delimiter) const;
void show_common_usage() const;
@@ -52,6 +56,9 @@ class RdciSubSystem {
std::string root_ca_;
std::string client_cert_;
std::string client_key_;
private:
bool is_json_output_;
};
typedef std::shared_ptr<RdciSubSystem> RdciSubSystemPtr;