- Timestamp:
- Feb 15, 2012, 3:58:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/mem_time_tests/parameters/timelen/ex1.py
r8336 r8342 18 18 log._setup = False 19 19 20 log.timingInfo(msg=(' variable1,'+str(f))) #write the variable to be measured to file21 20 log.timingInfo(msg=('timelength,'+str(f))) #write the variable to be measured to file 21 log.timingInfo(msg=('timestep,'+str(g))) #write the variable to be measured to file 22 22 log.timingInfo(msg=('beforetime,'+str(log.TimeStamp()))) #get the time at the beginning of the simulation 23 24 23 log.resource_usage_timing(prefix = 'beforesimulation') #get memory usage here 25 24 … … 33 32 34 33 log.resource_usage_timing(prefix = 'aftermesh') #get memory usage here 34 log.timingInfo(msg=('aftermeshtime,'+str(log.TimeStamp()))) #get the time at the beginning of the simulation 35 35 #------------------------------------------------------------------------------ 36 36 # Setup initial conditions
Note: See TracChangeset
for help on using the changeset viewer.