Graphics 800,600,32
Plot 0,0
b=ReadPixel (0,0)
LockBuffer FrontBuffer()
time=MilliSecs()
For x = 0 To 799
For y =0 To 599
WritePixelFast x,y,b
Next
Next
time= MilliSecs()-time
UnlockBuffer FrontBuffer()
Color 9,9,9
Text 0,0,time
WaitKey
why does the above code give a time of 55 milliseconds on a friend's 450mhz PC while my 3ghz PC returns a time of 63 milliseconds?
Plot 0,0
b=ReadPixel (0,0)
LockBuffer FrontBuffer()
time=MilliSecs()
For x = 0 To 799
For y =0 To 599
WritePixelFast x,y,b
Next
Next
time= MilliSecs()-time
UnlockBuffer FrontBuffer()
Color 9,9,9
Text 0,0,time
WaitKey
why does the above code give a time of 55 milliseconds on a friend's 450mhz PC while my 3ghz PC returns a time of 63 milliseconds?