webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
complexityMeasures.m File Reference

Functions

% saves to matlab variable st eval (strcat(command, cout))
 
 if (length(cout)>3) load st.txt else disp('No cout file to load') end % initialize vector to zero index
 
for for new (i, st(j, 2))
 
 result (i, 1)
 
% Compute each function s mean complexity % result (i, 2)
 
% Compute each function s maximum complexity in encoding % and decoding respectively and then add it result (i, 3)
 

Variables

 clear
 
 pack
 
% % Enter the path to YOUR executable and remember to define the perprocessor % variable PRINT_MIPS te get the instructions printed to the screen % command = '!iLBCtest.exe 30 speechAndBGnoise.pcm out1.bit out1.pcm tlm10_30ms.dat'
 
 cout =' > st.txt'
 
 indexnonzero = find(st(1:end,1)>0)
 
 frames = length(index)-indexnonzero(1)+1
 
 start = indexnonzero(1) - 1
 
 functionOrder =max(st(:,2))
 
 new =zeros(frames,functionOrder)
 
for i = 1:frames
 
for for j = index(start-1+i)+1:(index(start+i)-1)
 
end end result =zeros(functionOrder,3)
 
% Compute each function s maximum complexity in encoding % and decoding respectively and then add it together
 

Function Documentation

◆ eval()

% saves to matlab variable st eval ( strcat(command, cout )

◆ if()

if ( length(cout ,
 
)

◆ new()

for for new ( i  ,
st(j, 2)   
)

◆ result() [1/3]

result ( i  ,
 
)

◆ result() [2/3]

% Compute each function s mean complexity % result ( i  ,
 
)

◆ result() [3/3]

% Compute each function s maximum complexity in encoding % and decoding respectively and then add it result ( i  ,
 
)

Variable Documentation

◆ clear

clear

◆ command

% % Enter the path to YOUR executable and remember to define the perprocessor % variable PRINT_MIPS te get the instructions printed to the screen % command = '!iLBCtest.exe 30 speechAndBGnoise.pcm out1.bit out1.pcm tlm10_30ms.dat'

◆ cout

cout =' > st.txt'

◆ frames

frames = length(index)-indexnonzero(1)+1

◆ functionOrder

functionOrder =max(st(:,2))

◆ i

for i = 1:frames

◆ indexnonzero

indexnonzero = find(st(1:end,1)>0)

◆ j

for for j = index(start-1+i)+1:(index(start+i)-1)

◆ new

new =zeros(frames,functionOrder)

◆ pack

pack

◆ result

end end result =zeros(functionOrder,3)

◆ start

start = indexnonzero(1) - 1

◆ together

% Compute each function s maximum complexity in encoding % and decoding respectively and then add it together