필터 지우기
필터 지우기

CPU Profiling, each core

조회 수: 1 (최근 30일)
Wajahat
Wajahat 2012년 10월 30일
Hi
I have a 4 core processor. How can I profile each core separately, every time I run a code? I want to note down load on each core when I run a code. Something similar to what windows task manager shows.
Best Regards
Wajahat

채택된 답변

Jason Ross
Jason Ross 2012년 10월 30일
편집: Jason Ross 2012년 10월 30일
Run perfmon.exe. If you define a data collector set, you can set up counters for things like "% Processor time", and you can set it up to look at the Total or select it by core.
Once you have this set up, you can start and stop it, and review the results in the "Reports" section. There are a variety of ways to export the raw data -- just google for "export perfmon data to CSV" or "export perfmon data to Excel"
Keep in mind when you are profiling, that it does put a load on the computer -- so be careful with how many counters you have running, and how frequently you update them.
  댓글 수: 2
Wajahat
Wajahat 2012년 10월 30일
Hi Jason
Thanks, that was helpful.
But is there any such tool in Matlab?
Best Regards
Wajahat
Jason Ross
Jason Ross 2012년 10월 30일
Not that I'm aware of.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by