Mercurial > hg > octave-avbm
changeset 13452:42f522aed197
Removed some code.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Fri, 15 Apr 2011 14:35:21 +0200 |
parents | b3b248cbe29f |
children | bee91b3bfc41 |
files | gui//src/OctaveLink.cpp gui//src/TerminalDisplay.h |
diffstat | 2 files changed, 10 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//src/OctaveLink.cpp +++ b/gui//src/OctaveLink.cpp @@ -168,31 +168,18 @@ *******************************************************************************/ //************************************************************************* -int OctaveLink::processOctaveServerData(void) -{ - struct timeval start, stop; -#ifndef __WIN32__ - gettimeofday(&start, NULL); -#endif - - QMutexLocker mutexLocker(&m_internalAccessMutex); +int OctaveLink::processOctaveServerData(void) { + QMutexLocker mutexLocker(&m_internalAccessMutex); - process_breakpoint_action(); - processBreakpointAndRemoveModify(); - processRequestedVariables(); - retrieveVariables(); - setHistoryList(); - setBreakPointList(); - -#ifndef __WIN32__ - gettimeofday(&stop, NULL); - double elapsed = stop.tv_sec - start.tv_sec + 1E-6 * (stop.tv_usec - start.tv_usec); - //octave_stdout << "SERVER ELAPSED: " << elapsed << std::endl; -#endif - return 0; + process_breakpoint_action(); + processBreakpointAndRemoveModify(); + processRequestedVariables(); + retrieveVariables(); + setHistoryList(); + setBreakPointList(); + return 0; } - //************************************************************************* void OctaveLink::retrieveVariables() { m_variableSymbolTableList.clear();