Changeset 18063 for issm/trunk-jpl/src/c/classes/Profiler.cpp
- Timestamp:
- 05/26/14 21:05:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Profiler.cpp
r15838 r18063 17 17 18 18 /*Profiler constructors and destructors:*/ 19 /*FUNCTION Profiler::Profiler() default constructor {{{*/ 20 Profiler::Profiler(){ 19 Profiler::Profiler(){/*{{{*/ 21 20 this->time=new Parameters(); 22 21 this->flops=new Parameters(); … … 24 23 } 25 24 /*}}}*/ 26 /*FUNCTION Profiler::~Profiler(){{{*/ 27 Profiler::~Profiler(){ 25 Profiler::~Profiler(){/*{{{*/ 28 26 delete time; 29 27 delete flops; … … 33 31 34 32 /*Object virtual functions definitions:*/ 35 /*FUNCTION Profiler::Echo{{{*/ 36 void Profiler::Echo(void){ 33 void Profiler::Echo(void){/*{{{*/ 37 34 38 35 _printf_("Profiler:\n"); … … 42 39 } 43 40 /*}}}*/ 44 /*FUNCTION Profiler::DeepEcho{{{*/ 45 void Profiler::DeepEcho(void){ 41 void Profiler::DeepEcho(void){/*{{{*/ 46 42 47 43 _printf_("Profiler:\n"); … … 51 47 } 52 48 /*}}}*/ 53 /*FUNCTION Profiler::Id{{{*/ 54 int Profiler::Id(void){ return -1; } 49 int Profiler::Id(void){ return -1; }/*{{{*/ 55 50 /*}}}*/ 56 /*FUNCTION Profiler::ObjectEnum{{{*/ 57 int Profiler::ObjectEnum(void){ 51 int Profiler::ObjectEnum(void){/*{{{*/ 58 52 59 53 return ProfilerEnum; … … 63 57 64 58 /*Profiler routines:*/ 65 /*FUNCTION Profiler::Tag {{{*/ 66 void Profiler::Tag(int tagenum,bool dontmpisync){ 59 void Profiler::Tag(int tagenum,bool dontmpisync){/*{{{*/ 67 60 68 61 IssmDouble t; … … 98 91 } 99 92 /*}}}*/ 100 /*FUNCTION Profiler::DeltaTime {{{*/ 101 IssmDouble Profiler::DeltaTime(int inittag, int finaltag){ 93 IssmDouble Profiler::DeltaTime(int inittag, int finaltag){/*{{{*/ 102 94 103 95 IssmDouble init, final; … … 112 104 } 113 105 /*}}}*/ 114 /*FUNCTION Profiler::DeltaFlops {{{*/ 115 IssmDouble Profiler::DeltaFlops(int inittag, int finaltag){ 106 IssmDouble Profiler::DeltaFlops(int inittag, int finaltag){/*{{{*/ 116 107 117 108 IssmDouble init, final; … … 122 113 } 123 114 /*}}}*/ 124 /*FUNCTION Profiler::DeltaTimeModHour {{{*/ 125 int Profiler::DeltaTimeModHour(int inittag, int finishtag){ 115 int Profiler::DeltaTimeModHour(int inittag, int finishtag){/*{{{*/ 126 116 127 117 IssmDouble init, finish; … … 137 127 } 138 128 /*}}}*/ 139 /*FUNCTION Profiler::DeltaTimeModMin {{{*/ 140 int Profiler::DeltaTimeModMin(int inittag, int finishtag){ 129 int Profiler::DeltaTimeModMin(int inittag, int finishtag){/*{{{*/ 141 130 142 131 IssmDouble init, finish; … … 151 140 } 152 141 /*}}}*/ 153 /*FUNCTION Profiler::DeltaTimeModSec {{{*/ 154 int Profiler::DeltaTimeModSec(int inittag, int finishtag){ 142 int Profiler::DeltaTimeModSec(int inittag, int finishtag){/*{{{*/ 155 143 156 144 IssmDouble init, finish; … … 165 153 } 166 154 /*}}}*/ 167 /*FUNCTION Profiler::Memory {{{*/ 168 IssmDouble Profiler::Memory(int tag){ 155 IssmDouble Profiler::Memory(int tag){/*{{{*/ 169 156 170 157 IssmDouble m;
Note:
See TracChangeset
for help on using the changeset viewer.