Changeset 1886

Show
Ignore:
Timestamp:
16/11/08 18:54:02 (8 weeks ago)
Author:
duncan
svm:headrev:

cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11168
Message:

Updated benchmarking calls

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • freevo/src/audio/plugins/radio.py

    r1773 r1886  
    5858from util.benchmark import benchmark 
    5959benchmarking = config.DEBUG_BENCHMARKING 
     60benchmarkcall = config.DEBUG_BENCHMARKCALL 
    6061 
    6162class PluginInterface(plugin.MainMenuPlugin): 
     
    8081    | ] 
    8182    """ 
    82     @benchmark(benchmarking) 
     83    @benchmark(benchmarking, benchmarkcall) 
    8384    def __init__(self): 
    8485        _debug_('PluginInterface.__init__()', 2) 
     
    9091 
    9192 
    92     @benchmark(benchmarking) 
     93    @benchmark(benchmarking, benchmarkcall) 
    9394    def config(self): 
    9495        return [ 
     
    9899 
    99100 
    100     @benchmark(benchmarking) 
     101    @benchmark(benchmarking, benchmarkcall) 
    101102    def items(self, parent): 
    102103        return [ RadioMainMenuItem(parent) ] 
     
    109110    of commands in a submenu. 
    110111    """ 
    111     @benchmark(benchmarking) 
     112    @benchmark(benchmarking, benchmarkcall) 
    112113    def __init__(self, parent): 
    113114        _debug_('RadioMainMenuItem.__init__(parent=%r)' % (parent,), 2) 
     
    116117 
    117118 
    118     @benchmark(benchmarking) 
     119    @benchmark(benchmarking, benchmarkcall) 
    119120    def actions(self): 
    120121        """ 
     
    124125 
    125126 
    126     @benchmark(benchmarking) 
     127    @benchmark(benchmarking, benchmarkcall) 
    127128    def create_stations_menu(self, arg=None, menuw=None): 
    128129        station_items = [] 
     
    154155    and stderr of last command run. 
    155156    """ 
    156     @benchmark(benchmarking) 
     157    @benchmark(benchmarking, benchmarkcall) 
    157158    def __init__(self): 
    158159        Item.__init__(self) 
     
    164165 
    165166 
    166     @benchmark(benchmarking) 
     167    @benchmark(benchmarking, benchmarkcall) 
    167168    def actions(self): 
    168169        """ Get a list of actions for this item """ 
     
    171172 
    172173 
    173     @benchmark(benchmarking) 
     174    @benchmark(benchmarking, benchmarkcall) 
    174175    def checktv(self): 
    175176        """ Check if something is recording """ 
     
    178179 
    179180 
    180     @benchmark(benchmarking) 
     181    @benchmark(benchmarking, benchmarkcall) 
    181182    def play(self, arg=None, menuw=None): 
    182183        _debug_('station=%r station_index=%r name=%r' % (self.station, self.station_index, self.name)) 
     
    199200 
    200201 
    201     @benchmark(benchmarking) 
     202    @benchmark(benchmarking, benchmarkcall) 
    202203    def confirm (self, arg=None, menuw=None): 
    203204        """ Confirm that the player should be stopped """ 
     
    208209 
    209210 
    210     @benchmark(benchmarking) 
     211    @benchmark(benchmarking, benchmarkcall) 
    211212    def stop(self, arg=None, menuw=None): 
    212213        """ Stop the current playing """ 
     
    220221    Radio Player user interface 
    221222    """ 
    222     @benchmark(benchmarking) 
     223    @benchmark(benchmarking, benchmarkcall) 
    223224    def __init__(self, item, menuw=None): 
    224225        """ Create an instance of a RadioPlayerGUI """ 
     
    232233 
    233234 
    234     @benchmark(benchmarking) 
     235    @benchmark(benchmarking, benchmarkcall) 
    235236    def refresh(self): 
    236237        """ Give information to the skin """