mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
performance-metrics: Add git committer date to the report
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -38,6 +38,7 @@ pub struct PerformanceTestResult {
|
||||
pub struct MetricsReport {
|
||||
pub git_human_readable: String,
|
||||
pub git_revision: String,
|
||||
pub git_committer_date: String,
|
||||
pub date: String,
|
||||
pub results: Vec<PerformanceTestResult>,
|
||||
}
|
||||
@@ -396,6 +397,7 @@ fn main() {
|
||||
let mut metrics_report = MetricsReport {
|
||||
git_human_readable: env!("GIT_HUMAN_READABLE").to_string(),
|
||||
git_revision: env!("GIT_REVISION").to_string(),
|
||||
git_committer_date: env!("GIT_COMMITER_DATE").to_string(),
|
||||
date: date(),
|
||||
results: Vec::new(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user