mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add some profiling logs to lottie player.
This commit is contained in:
@@ -319,6 +319,11 @@ bool DebugEnabled() {
|
||||
#endif
|
||||
}
|
||||
|
||||
QString ProfilePrefix() {
|
||||
const auto now = crl::profile();
|
||||
return '[' + QString::number(now / 1000., 'f', 3) + "] ";
|
||||
}
|
||||
|
||||
void start(not_null<Core::Launcher*> launcher) {
|
||||
Assert(LogsData == nullptr);
|
||||
|
||||
|
Reference in New Issue
Block a user