1 classdef ProfileInfo<handle
3 properties (Access=
private,Hidden)
4 % start time of profiling
6 % elapsed time of profiling
23 function resTime=toc(self)
26 if ~isempty(self.tElapsed)
27 resTime=self.tElapsed;
28 elseif ~isempty(self.tStart)
29 resTime=toc(self.tStart);
30 self.tElapsed=resTime;
33 'You must call TIC before calling TOC');
37 function resTime=process(self,profCaseName)
function throwerror(in msgTag, in varargin)
THROWERROR works similarly to built-in ERROR function in case when there is no output arguments but s...
PROFILEINFO contains profiling info obtaining during exectution of some code.