| |
|
|
- Page 1 - |
|
Julian Schmidt | Hey, white here someone How one relatively slight rausbekommt wieviele Flops(Floating Point Operations Per Second) one processor has. my so none theoretical worth, separate a in the ongoing-pursued ermittelten worth.
LG
Julian |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Julian Schmidt | ByteAttack (23.03.13)
hope you know, on what I out wants...
...No, unfortunately not! out of that you again on your oberen comment allude want: the any Komponenten mind go must. what naturally not wrong is. |
|
|
| |
|
|
|
ByteAttack | anyhow is it really Sinnfrei.... since windows NT 4.0 has Microsoft the HAL eingefügt! any processes go first by the 'Hardware Abstract Layer' (or similar ) machine. direct Access to the processor is accordingly none possible, and verfälscht the Result... |
|
|
| |
|
|
|
Julian Schmidt | hmmmm...and How is with the Treibern over The can still of my Wissens The hardware directly addressed go. Does the too first over The HAL? |
|
|
| |
|
|
|
ByteAttack | ALLES! even if You in Assembler program, goes it first over the Layer. naturally is Assembler faster, but it'll quasi 'abgefangen' Windows. the was then necessary, so itself windows not last aufhängt.. (How with windows 95) |
|
|
| |
|
|
|
Julian Schmidt | and is the with others Betriebssystemen similar gehandhabt? |
|
|
| |
|
|
|
ByteAttack | Yes! too z.B. Unix, or Linux has something like (no idea How one it name) its a sinnvolle function! accordingly can Failed-Bits exclude, d,h. one can't so slight command on whom processor send so it crashes. (one reminds itself on whom Divisionsfehler with Pentium) there has one commands gereicht, around the computer gammy-To-lay. As I said - I know me there only in windows from. then under MS-DOS get The tab 'wirklich' directly addressed! there could one yet correctly. scheiß building |
|
|
| |
|
|
|
ByteAttack | circa the eigentliche Topic back To come... should one of/ one bill as Integer, or Quad-Int-Float on a PC run, The any GLEICH are. my so - Gleicher computer, with all peripheren, but unterschiedlichen Prozessoren |
|
|
| |
|
|
|
| I würds "Protected Mode" name. ^^
>> should one of/ one bill as Integer, or Quad-Int-Float on a PC walk >> let, The any GLEICH are.
for Flops wealthy fpu-command, I werd time such Opcode zusammenfrickeln. |
|
|
| |
|
|
|
| @Julian: so, GEHTS me now again rather -
have you not forget...
here one code of a 32-bit-Opcode created the 250 time 1.000.000 FPU command anweist:
Download
CompileMarkSeparation {$cleq}
cls
print flopsTest(1000000,250,57.29577951308232087)
waitinput
end
flopsTest(long opcodeOpsC,enumC,float theFloatValueToTestWith){
long opcode=genFPUOpcode(opcodeOpsC,theFloatValueToTestWith)
long tme=getTickCount
whileLoop enumC { call(opcode-7) }
tme=getTickCount-tme
globalFree(opcode)
return tme
}
nProc genFPUOpcode(long opcodeOpsC,float theFloatValueToTestWith){
mul opcodeOpsC,2
long floatVal=dim(8)
setFloat(floatVal,0,theFloatValueToTestWith)
long opcode=dim(8+opcodeOpsC)
setByte(opcode,0,$B8)//mov eax
setLong(opcode,1,floatVal)
setByte(opcode,5,$DD)//fld ptr eax
setByte(opcode,7+opcodeOpsC,$C3)//ret0
add opcode,7
whileLoop 0,opcodeOpsC-1,2 {
setByte(opcode,loop,$DC)
if rnd(2) {
setByte(opcode+1,loop,$30)
} else {
setByte(opcode+1,loop,$08)
}
}
return opcode
}
my computer rechnet thereafter 250.000.000 Gleitkommawerte in 538ms.
whom first Parameter with flopsTest not higher as 1mio settle since the function otherwise To big would. |
|
|
| |
|
|
|
Julian Schmidt | overthrows by me ex, if I it yourself with XPSE kompiliere or ausführe. your attachment supra runs but.
|
|
|
| |
|
|
|
| Teste time whether The herewith ( [...] ) compiled Exe with you runs. |
|
|
| |
|
|
|
Julian Schmidt | Yes, works. Why not my normalen X2? |
|
|
| |
|
|