/[escript]/trunk/escript/py_src/__init__.py
ViewVC logotype

Diff of /trunk/escript/py_src/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 614 by elspeth, Wed Mar 22 01:37:07 2006 UTC revision 2344 by jfenwick, Mon Mar 30 02:13:58 2009 UTC
# Line 1  Line 1 
 # $Id$  
1    
2  __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  ########################################################
3                      http://www.access.edu.au  #
4                  Primary Business: Queensland, Australia"""  # Copyright (c) 2003-2008 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7    #
8    # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
14    __copyright__="""Copyright (c) 2003-2008 by University of Queensland
15    Earth Systems Science Computational Center (ESSCC)
16    http://www.uq.edu.au/esscc
17    Primary Business: Queensland, Australia"""
18  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
19               http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="https://launchpad.net/escript-finley"
21    
22  from escript import *  from escript import *
23  from util import *  from util import *
24    
25    import os
26    import atexit
27    
28    def escriptOnExitProfiling():
29        if os.name=='posix':
30        pid=os.getpid()
31        os.system("cat /proc/%d/status > memescript.%d"%(pid,pid))
32        
33    if 'escriptExitProfiling' in os.environ:
34        atexit.register(escriptOnExitProfiling)

Legend:
Removed from v.614  
changed lines
  Added in v.2344

  ViewVC Help
Powered by ViewVC 1.1.26