Merge pull request #7215 from SupervisedThinking/up_trace_time

scripts/build: update TRACE_BUILD_TIMING
This commit is contained in:
Matthias Reichl 2022-12-06 19:50:24 +01:00 committed by GitHub
commit fedee34490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,8 +558,8 @@ record_timestamp BUILD_END
if [ -n "${TRACE_BUILD_TIMING}" ]; then if [ -n "${TRACE_BUILD_TIMING}" ]; then
( (
echo "build timing details:" print_color "CLR_AUTOREMOVE" "\nBuild timing details:"
show_timestamp_diff "total" BUILD_BEGIN BUILD_END print_color "CLR_TARGET" "\n================================\n"
show_timestamp_diff "unpack" BUILD_BEGIN BUILD_START show_timestamp_diff "unpack" BUILD_BEGIN BUILD_START
show_timestamp_diff "pre-build setup" BUILD_START BUILD_CONFIGURE show_timestamp_diff "pre-build setup" BUILD_START BUILD_CONFIGURE
show_timestamp_diff "configure" BUILD_CONFIGURE BUILD_MAKE show_timestamp_diff "configure" BUILD_CONFIGURE BUILD_MAKE
@ -567,5 +567,8 @@ if [ -n "${TRACE_BUILD_TIMING}" ]; then
show_timestamp_diff "make install" BUILD_MAKEINSTALL BUILD_COPY_SYSROOT show_timestamp_diff "make install" BUILD_MAKEINSTALL BUILD_COPY_SYSROOT
show_timestamp_diff "copy sysroot" BUILD_COPY_SYSROOT BUILD_CLEANUP_INSTALL show_timestamp_diff "copy sysroot" BUILD_COPY_SYSROOT BUILD_CLEANUP_INSTALL
show_timestamp_diff "cleanup install" BUILD_CLEANUP_INSTALL BUILD_END show_timestamp_diff "cleanup install" BUILD_CLEANUP_INSTALL BUILD_END
print_color "CLR_TARGET" "--------------------------------\n"
show_timestamp_diff "total time" BUILD_BEGIN BUILD_END
echo -e
) >&${VERBOSE_OUT} ) >&${VERBOSE_OUT}
fi fi