Changeset 11958


Ignore:
Timestamp:
04/11/12 13:23:09 (13 years ago)
Author:
habbalf
Message:

Added 'petsc_profiling' flag to debug for PETSc profiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/debug.m

    r11869 r11958  
    66classdef debug
    77        properties (SetAccess=public)
    8                 valgrind=false;
    9                 gprof   = false;
     8                valgrind = false;
     9                gprof    = false;
     10                petsc_profiling = false;
    1011        end
    1112        methods
     
    2627                        fielddisplay(obj,'valgrind','use Valgrind to debug (0 or 1)');
    2728                        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)');
    2830
     31                end % }}}
     32                function marshall(obj,fid) % {{{
     33                        WriteData(fid,'object',obj,'fieldname','petsc_profiling','format','Boolean');
    2934                end % }}}
    3035        end
Note: See TracChangeset for help on using the changeset viewer.