TempleOSCD_150720.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:22 +02:00
1 parent 401601816c
commit f8c05f98f4
554 files changed
+26046 -24853

No files matched your search

+4 -4
View File
@@ -9,7 +9,7 @@ U0 TimeIns()
{
I64 i,start,end,overhead_time,test_time;
F64 d=5.0;
Bool old_preempt=Preempt(OFF);
Bool old_preempt=Preempt;
//Measure Loop Overhead
start=GetTSC;
@@ -20,10 +20,10 @@ U0 TimeIns()
start=GetTSC;
for (i=0;i<SAMPLE_SIZE;i++) {
#exe {OTraceMask(0b10000000000);OTrace(ON);};
//Time these instructions
#exe {OTraceMask(0b10000000000);OTrace(ON);};
//Time these instructions
d*=1.00001;
#exe {OTrace(OFF);};
#exe {OTrace(OFF);};
}
end=GetTSC;
test_time=end-start;