Changeset 11958
- Timestamp:
- 04/11/12 13:23:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/debug.m
r11869 r11958 6 6 classdef debug 7 7 properties (SetAccess=public) 8 valgrind=false; 9 gprof = false; 8 valgrind = false; 9 gprof = false; 10 petsc_profiling = false; 10 11 end 11 12 methods … … 26 27 fielddisplay(obj,'valgrind','use Valgrind to debug (0 or 1)'); 27 28 fielddisplay(obj,'gprof','use gnu-profiler to find out where the time is spent'); 29 fielddisplay(obj,'petsc_profiling','enables PETSc profiling (memory, flops, time)'); 28 30 31 end % }}} 32 function marshall(obj,fid) % {{{ 33 WriteData(fid,'object',obj,'fieldname','petsc_profiling','format','Boolean'); 29 34 end % }}} 30 35 end
Note:
See TracChangeset
for help on using the changeset viewer.