classdef ExecutionTimePreemptionSection < coder.profile.ExecutionTimeSection
%EXECUTIONTIMEPREEMPTIONSECTION profiling results capturing preemption
%

% Copyright 2010-2013 The MathWorks, Inc.

properties (Hidden = true, Access=private)
Model;
end

methods (Hidden=true, Access=public)

function val = getName(~)

val = 'PREEMPTION SECTION';

end

function this = ExecutionTimePreemptionSection...
(lTimerData,...
lSectionNumber)

this@coder.profile.ExecutionTimeSection...
(lTimerData,...
lSectionNumber,...
[]);

end

function isPreemption = isPreemptionSection(~)
isPreemption = true;
end

function number = getSectionNumber(~)

number = -1; % Preemption sections are hidden

end
end

end