diff options
| author | Christian Tismer <tismer@stackless.com> | 2023-04-10 13:13:36 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2023-04-11 10:05:00 +0200 |
| commit | 704d88befe70af91630b23b7682ebf2c13917b06 (patch) | |
| tree | 9e274f44f408b2535a8b76cdfd5f6b4c8f8dd10f /sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | |
| parent | 46ff40c060f8db8a613c673145605f72b9c1f465 (diff) | |
build_scripts: fix a suboptimal timing formula
The construction
start_time = int(time.time())
def elapsed():
return int(time.time()) - start_time
is unfortunate since it increases the variance without reason.
Change-Id: I5fcd87a2ca3559113aacd3f415b952929c2155fe
Pick-to: 6.5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
