ita_pause_us.m 191 Bytes
Newer Older
Florian Pausch's avatar
Florian Pausch committed
1
function ita_pause_us( micro_seconds )
2 3 4
% ita_pause_us pauses (sleeps) for given time (units in micro seconds)
    java.util.concurrent.locks.LockSupport.parkNanos( micro_seconds * 1e3 );
end