caramelli / fbmark

Linux Framebuffer Benchmark
GNU General Public License v3.0
25 stars 12 forks source link

fb_rectangle.c MPixel #1

Closed hhchung closed 6 years ago

hhchung commented 6 years ago

Hi! This is a useful project for me, but I am a little confuse about the output information "MPixels/second" in the fb_rectangle.c (line 80). I think it should be Pixels instead of MPixel(megapixel) or I just misunderstand the MPixel ?

code https://github.com/caramelli/fbmark/blob/20569e2b62b41f429d0d1afce721717b70591777/fb_rectangle.c#L80

caramelli commented 6 years ago

I'm pleased that some people play with this code.

About the output, you have : count w h pixels during (end - start) ms (as start = tv.tv_sec 1000 + tv.tv_usec / 1000) which represents : count w h pixels during [(end - start) 1000] us so : count w h megapixels per second

You have a screenshot on https://github.com/caramelli/dolsh/wiki/Framebuffer

Nicolas

Le jeu. 26 juil. 2018 à 10:46, hhchung notifications@github.com a écrit :

Hi! This is a useful project for me, but I am a little confuse about the output information "MPixels/second" in the fb_rectangle.c (line 80). I think it should be Pixels instead of MPixel(megapixel) or I just misunderstand the MPixel ?

code https://github.com/caramelli/fbmark/blob/20569e2b62b41f429d0d1afce721717b70591777/fb_rectangle.c#L80

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/caramelli/fbmark/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AIiQ-NFpYRzPvd7jrsvip7EtKvQAp7-aks5uKYHkgaJpZM4Vham8 .

hhchung commented 6 years ago

Oh, I realize the meaning. Thank you for your elaborate explanation.