iceorfire / hustoj

Automatically exported from code.google.com/p/hustoj
1 stars 0 forks source link

Time precision issue #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I submit same source code ( attaced C++ file ) and expect the two 
submission show same execution time, but in submission report page  shows 
different execution time for these submission.

Please check the FPS and source code.

Original issue reported on code.google.com by method4libe on 2 May 2010 at 7:50

Attachments:

GoogleCodeExporter commented 8 years ago
because the system status can not be exactly the same when running different 
solutions ,no 
matter if there code is same, this can not be solved by now.

for example ,disk cache can't be same,so disk i/o time can be different,the 
later submitting 
can benefit from preloaded file in disk i/o cache, a few ms can be saved.

memory align, page swapping ,CPU level 1 and 2 caching, these are all various 
between 
runnings. 

Original comment by newsc...@gmail.com on 3 May 2010 at 12:54

GoogleCodeExporter commented 8 years ago

Original comment by newsc...@gmail.com on 5 Jun 2010 at 4:53