Changeset 7239
- Timestamp:
- Jun 22, 2009, 9:25:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/fit_interpolate/benchmark_least_squares.py
r6152 r7239 100 100 Only works on nix systems. 101 101 ''' 102 103 # GC stuff should be uncommented when debugging memory 'shift' problems, 104 # when (if?) the amount of memory used takes a sudden leap upwards. 105 #import gc 102 106 import string 107 108 #gc.collect() 109 #print('Ran a garbage collection') 103 110 p=os.popen('ps uwp %s'%os.getpid()) 104 111 lines=p.readlines() 105 #print "lines", lines106 112 status=p.close() 107 113 if status or len(lines)!=2 or sys.platform == 'win32':
Note: See TracChangeset
for help on using the changeset viewer.