Ignore:
Timestamp:
05/26/14 21:05:52 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removed some FUNCTION folds, moved to function declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Profiler.cpp

    r15838 r18063  
    1717
    1818/*Profiler constructors and destructors:*/
    19 /*FUNCTION Profiler::Profiler() default constructor {{{*/
    20 Profiler::Profiler(){
     19Profiler::Profiler(){/*{{{*/
    2120                 this->time=new Parameters();
    2221                 this->flops=new Parameters();
     
    2423}
    2524/*}}}*/
    26 /*FUNCTION Profiler::~Profiler(){{{*/
    27 Profiler::~Profiler(){
     25Profiler::~Profiler(){/*{{{*/
    2826        delete time;
    2927        delete flops;
     
    3331
    3432/*Object virtual functions definitions:*/
    35 /*FUNCTION Profiler::Echo{{{*/
    36 void Profiler::Echo(void){
     33void Profiler::Echo(void){/*{{{*/
    3734
    3835        _printf_("Profiler:\n");
     
    4239}
    4340/*}}}*/
    44 /*FUNCTION Profiler::DeepEcho{{{*/
    45 void Profiler::DeepEcho(void){
     41void Profiler::DeepEcho(void){/*{{{*/
    4642
    4743        _printf_("Profiler:\n");
     
    5147}
    5248/*}}}*/
    53 /*FUNCTION Profiler::Id{{{*/
    54 int    Profiler::Id(void){ return -1; }
     49int    Profiler::Id(void){ return -1; }/*{{{*/
    5550/*}}}*/
    56 /*FUNCTION Profiler::ObjectEnum{{{*/
    57 int Profiler::ObjectEnum(void){
     51int Profiler::ObjectEnum(void){/*{{{*/
    5852
    5953        return ProfilerEnum;
     
    6357
    6458/*Profiler routines:*/
    65 /*FUNCTION Profiler::Tag {{{*/
    66 void  Profiler::Tag(int tagenum,bool dontmpisync){
     59void  Profiler::Tag(int tagenum,bool dontmpisync){/*{{{*/
    6760
    6861        IssmDouble t;
     
    9891}
    9992/*}}}*/
    100 /*FUNCTION Profiler::DeltaTime {{{*/
    101 IssmDouble  Profiler::DeltaTime(int inittag, int finaltag){
     93IssmDouble  Profiler::DeltaTime(int inittag, int finaltag){/*{{{*/
    10294
    10395        IssmDouble init, final;
     
    112104}
    113105/*}}}*/
    114 /*FUNCTION Profiler::DeltaFlops {{{*/
    115 IssmDouble  Profiler::DeltaFlops(int inittag, int finaltag){
     106IssmDouble  Profiler::DeltaFlops(int inittag, int finaltag){/*{{{*/
    116107
    117108        IssmDouble init, final;
     
    122113}
    123114/*}}}*/
    124 /*FUNCTION Profiler::DeltaTimeModHour {{{*/
    125 int Profiler::DeltaTimeModHour(int inittag, int finishtag){
     115int Profiler::DeltaTimeModHour(int inittag, int finishtag){/*{{{*/
    126116
    127117        IssmDouble init, finish;
     
    137127}
    138128/*}}}*/
    139 /*FUNCTION Profiler::DeltaTimeModMin {{{*/
    140 int Profiler::DeltaTimeModMin(int inittag, int finishtag){
     129int Profiler::DeltaTimeModMin(int inittag, int finishtag){/*{{{*/
    141130
    142131        IssmDouble init, finish;
     
    151140}
    152141/*}}}*/
    153 /*FUNCTION Profiler::DeltaTimeModSec {{{*/
    154 int Profiler::DeltaTimeModSec(int inittag, int finishtag){
     142int Profiler::DeltaTimeModSec(int inittag, int finishtag){/*{{{*/
    155143
    156144        IssmDouble init, finish;
     
    165153}
    166154/*}}}*/
    167 /*FUNCTION Profiler::Memory {{{*/
    168 IssmDouble  Profiler::Memory(int tag){
     155IssmDouble  Profiler::Memory(int tag){/*{{{*/
    169156
    170157        IssmDouble m;
Note: See TracChangeset for help on using the changeset viewer.