필터 지우기
필터 지우기

Computing computational load for 2 programs

조회 수: 7 (최근 30일)
prabhjeet singh
prabhjeet singh 2021년 5월 1일
댓글: prabhjeet singh 2021년 5월 1일
Good evening.
We often see in the research literature that a particular advance technique reduced the computational load. I would just like to know on what grounds this statement is made. I mean if I have 2 codes and want to see which of the 2 codes puts less computational load on the system, is there a way to do that?
Is there any command that can do the same?
Thanks in advance!
Best regards,
Prabhjeet singh

채택된 답변

Jan
Jan 2021년 5월 1일
The standard method to determine the load is measuring the time, which is required to solve the problem. This can include the load distribution to multiple cores or a measurement on different computer architectures.
  댓글 수: 3
Jan
Jan 2021년 5월 1일
tic, toc is a fair point to start from. timeit() is smarter. Remember, that measuring that the run time depends on the speed of the computer, which depends on its temperature and background tasks also.
prabhjeet singh
prabhjeet singh 2021년 5월 1일
Thankyou very much Jan.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by