Commit b287ed4c authored by Ulf Hermann's avatar Ulf Hermann Committed by The Qt Project
Browse files

Put calls to QQmlVmeProfiler behind "if (enabled)" macros


The construction of arguments to those calls may be expensive and should
be avoided if we're not really profiling.

Task-number: QTBUG-35315
Change-Id: I558fa4cae6cf532d22193283f1ee2a3b680e2eee
Reviewed-by: default avatarMichael Brasser <michael.brasser@live.com>
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent f781d97e
Showing with 38 additions and 32 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment