summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/AutoGen.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2017-09-11 16:50:07 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2017-09-26 13:39:39 +0800
commit1b8eca8b1affc81357c9f685ac90e5de75ba4b87 (patch)
tree637cb100e60ba72c934496405ccfb0e67ffbc2d6 /BaseTools/Source/Python/AutoGen/AutoGen.py
parent8932679df5be046feba30fae80776c5815232a08 (diff)
downloadedk2-1b8eca8b1affc81357c9f685ac90e5de75ba4b87.tar.gz
edk2-1b8eca8b1affc81357c9f685ac90e5de75ba4b87.tar.bz2
edk2-1b8eca8b1affc81357c9f685ac90e5de75ba4b87.zip
BaseTools: report build time measured by module of EDKII Build
In the build report, we add AutoGen Phase, Make Phase and GenFds Phase time duration in the Platform Summary section, and we also add a item in Module section to display module and library's build time. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
-rw-r--r--BaseTools/Source/Python/AutoGen/AutoGen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 1a8c0d9d31..6bbfc8774f 100644
--- a/BaseTools/Source/Python/AutoGen/AutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py
@@ -2695,6 +2695,7 @@ class ModuleAutoGen(AutoGen):
self.BuildDatabase = self.Workspace.BuildDatabase
self.BuildRuleOrder = None
+ self.BuildTime = 0
self._Module = None
self._Name = None