diff scripts/general/profile.m @ 12955:05941540287c

Style fixes on profiler internal functions * profile.m: Change __foo_bar to __foo_bar__ * profiler.cc: Ditto
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Thu, 11 Aug 2011 21:12:15 -0500
parents 031e1a2c26f3
children 8c64cc024e8c
line wrap: on
line diff
--- a/scripts/general/profile.m	Thu Aug 11 17:55:23 2011 +0200
+++ b/scripts/general/profile.m	Thu Aug 11 21:12:15 2011 -0500
@@ -65,20 +65,20 @@
 
   switch (option)
     case 'on'
-      __profiler_reset ();
-      __profiler_enable (true);
+      __profiler_reset__ ();
+      __profiler_enable__ (true);
 
     case 'off'
-      __profiler_enable (false);
+      __profiler_enable__ (false);
 
     case 'clear'
-      __profiler_reset ();
+      __profiler_reset__ ();
 
     case 'resume'
-      __profiler_enable (true);
+      __profiler_enable__ (true);
 
     case 'status'
-      enabled = __profiler_enable ();
+      enabled = __profiler_enable__ ();
       if (enabled)
         enabled = 'on';
       else
@@ -87,7 +87,7 @@
       retval = struct ('ProfilerStatus', enabled);
 
     case 'info'
-      data = __profiler_data ();
+      data = __profiler_data__ ();
       retval = struct ('FunctionTable', data);
 
     otherwise