From 5274c69abf4cb2b99ab9d92ac0081c0ec49bd2e4 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 8 Feb 2008 00:25:37 +0000 Subject: add some more profiles probes for more accurate progress --- lib/python/Screens/InfoBar.py | 9 +++++++++ lib/python/Screens/Screen.py | 8 ++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 1e8f761f..228ca4ef 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -1,14 +1,21 @@ +from Tools.Profile import profile, profile_final + from Screen import Screen +profile("LOAD:MovieSelection") from Screens.MovieSelection import MovieSelection +profile("LOAD:ChannelSelectionRadio") from Screens.ChannelSelection import ChannelSelectionRadio +profile("LOAD:ChoiceBox") from Screens.ChoiceBox import ChoiceBox +profile("LOAD:InitBar_Components") from Components.Sources.Source import ObsoleteSource from Components.ActionMap import HelpableActionMap from Components.config import config from Components.ServiceEventTracker import ServiceEventTracker +profile("LOAD:InfoBarGenerics") from Screens.InfoBarGenerics import InfoBarShowHide, \ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarRdsDecoder, \ InfoBarEPG, InfoBarEvent, InfoBarServiceName, InfoBarSeek, InfoBarInstantRecord, \ @@ -18,8 +25,10 @@ from Screens.InfoBarGenerics import InfoBarShowHide, \ InfoBarSummarySupport, InfoBarMoviePlayerSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, \ InfoBarSubtitleSupport, InfoBarPiP, InfoBarPlugins, InfoBarSleepTimer, InfoBarServiceErrorPopupSupport +profile("LOAD:HelpableScreen") from Screens.HelpMenu import HelpableScreen +profile("LOAD:enigma") from enigma import iPlayableService class InfoBar(InfoBarShowHide, diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 585f15cf..4c4f117b 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -1,9 +1,13 @@ -from Components.HTMLSkin import HTMLSkin +from Tools.Profile import profile, profile_final + +profile("LOAD:GUISkin") from Components.GUISkin import GUISkin +profile("LOAD:Source") from Components.Sources.Source import Source +profile("LOAD:GUIComponent") from Components.GUIComponent import GUIComponent -class Screen(dict, HTMLSkin, GUISkin): +class Screen(dict, GUISkin): ALLOW_SUSPEND = False -- cgit v1.2.3