function [ tSwap, tBorder ] = timing( cSwapTiming, cBorderTiming )
%TIMING Create timing data
    tSwap = uint32(zeros(1,3));     % dummy write
    tSlalom = uint32(zeros(1,11));  % dummy write
    tBorder = uint32(zeros(1,4));
    
    tSwap(1) = uint32(cSwapTiming(1));
    tSwap(2) = uint32(cSwapTiming(2) + tSwap(1));
    tSwap(3) = uint32(cSwapTiming(1) + tSwap(2));
    
%     % reverse timing
%     tSlalom(1)  = uint32(cSlalomTiming(1));
%     % 1st block
%     tSlalom(2)  = uint32(cSlalomTiming(2));
%     tSlalom(3)  = uint32(cSlalomTiming(3) + tSlalom(2));
%     tSlalom(4)  = uint32(cSlalomTiming(4) + tSlalom(3));
%     % between
%     tSlalom(5)  = uint32(cSlalomTiming(5));
%     tSlalom(6)  = uint32(cSlalomTiming(6) + tSlalom(5));
%     tSlalom(7)  = uint32(cSlalomTiming(5) + tSlalom(6));
%     tSlalom(8)  = uint32(cSlalomTiming(7) + tSlalom(7));
%     % 2nd block
%     tSlalom(9)  = uint32(cSlalomTiming(8));
%     tSlalom(10) = uint32(cSlalomTiming(9) + tSlalom(9));
%     tSlalom(11) = uint32(cSlalomTiming(8) + tSlalom(10));
    
    tBorder(1) = uint32(cBorderTiming(1));
    tBorder(2) = uint32(cBorderTiming(2));
    tBorder(3) = uint32(cBorderTiming(3));
    tBorder(4) = uint32(cBorderTiming(4) + tBorder(3));
end

