root/trunk/libffado/support/mixer-qt4/ffado-mixer-profiler.in

Revision 1748, 1.1 kB (checked in by arnonym, 14 years ago)

Split the main-part of ffado-mixer.in into ffado/ffadowindow.py.

Use that new independency to create ffado-mixer-profiler (which isn't installed system-wide). Maybe that helps to determine where time is ticking away.

  • Property svn:executable set to *
Line 
1 #!/usr/bin/python
2 #
3 # Copyright (C) 2005-2009 by Pieter Palmers
4 #               2007-2009 by Arnold Krille
5 #
6 # This file is part of FFADO
7 # FFADO = Free Firewire (pro-)audio drivers for linux
8 #
9 # FFADO is based upon FreeBoB.
10 #
11 # This program is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 #
23
24 import sys
25
26 # Add the path of the installed ffado-modules
27 # for path in sys.path:
28 sys.path.append( "$PYPKGDIR" )
29
30 from ffado.ffadowindow import *
31
32 import cProfile
33
34 if __name__ == "__main__":
35     cProfile.run('ffadomain(sys.argv)', sort='time')
36
37 #
38 # vim: ts=4 sw=4 et
Note: See TracBrowser for help on using the browser.