所要時間に関してアルゴリズムを相互に評価する場合、JavaでCPUまたはユーザー時間を使用する必要がありますか?私はここの情報を使用しました:これらの値を取得するために、ベンチマークのためにCPU、システム、およびユーザー時間を取得する方法...
どうぞ:
"User time" is the time spent running your application's own code.
"System time" is the time spent running OS code on behalf of your application (such as for I/O).
「CPU時間」もよく参照します。
"CPU time" is user time plus system time. It's the total time spent using a CPU for your application.
CS実験に最も適しているのはどれですか?