Timing

Timing

What exactly are you supposed to time? More specifically, do you include init and cleanup routines and the reading of the file?The instructions seem to imply that you measure the whole thing (including init, etc.). Is this correct?

4 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

In the past the judges seem to have included every thing.

It is easier for them to create a script that times the whole binary runtime that to try and insert timing code into everyones submissions.

OK. Thanks for the help.

running the code using script file will be better & convinient for the judges.
I do not think code need to put something like system call as the fist line(within main) & just before exitings(e.g. date --rfc-3339=ns) the code.

发表评论

登录添加评论。还不是成员?立即加入