Code covered by the BSD License  

Highlights from
Logiciels temps réel

Logiciels temps réel

by

 

Real-time software concerning the domains of the signal processing, feedback and regulation

[FE,performance]=frequence_reelle;
function [FE,performance]=frequence_reelle;

[tim,dum,dum,drv,slice,perf,dum,dum,mach]=rttool('Read',0,'Timers');
FE=1/slice;
if isempty(perf)
  performance = 1;
else
  performance = 1 - mean(perf(:,2)-perf(:,1)) / mean(diff(perf(:,1)));
end;

Contact us