audk/BaseTools/Source/Python/Ecc
Michael Kubacki 242ab73d7f BaseTools/Ecc: Replace deprecated function time.clock()
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2707

Ecc fails with Python 3.8 because it uses the deprecated time.clock()
function - https://docs.python.org/3.7/library/time.html#time.clock

This change updates EccMain.py to use time.perf_counter().

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2020-05-13 05:52:03 +00:00
..
CParser3 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CParser4 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaFileWorkspace BaseTools:fix Ecc tool issue for check StructPcd 2020-02-12 09:26:22 +00:00
Xml BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
C.g BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Check.py BaseTools:Change the case rules for ECC check pointer names 2020-01-13 02:08:46 +00:00
CodeFragment.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CodeFragmentCollector.py BaseTools:ECC report errors on account of analyze special characters 2019-05-08 09:41:42 +08:00
Configuration.py BaseTools:ECC need to handle lower case 'static' 2019-09-09 11:14:42 +08:00
Database.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EccGlobalData.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EccMain.py BaseTools/Ecc: Replace deprecated function time.clock() 2020-05-13 05:52:03 +00:00
EccToolError.py BaseTools:ECC need to handle lower case 'static' 2019-09-09 11:14:42 +08:00
Exception.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
FileProfile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaDataParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ParserWarning.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
c.py BaseTools:ECC need to handle lower case 'static' 2019-09-09 11:14:42 +08:00
config.ini BaseTools:ECC report errors on account of analyze special characters 2019-05-08 09:41:42 +08:00
exception.xml BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00