Jump to content

Profiling SystemC simulation


Recommended Posts

Hello,

I am running systemC simulation for an soc on Linux and I see over the time simulation slowed down significantly & want to find culprit/s.

I would like to know which profiling tool can be used for systemC simulation which can help me finding thread timings or relevant timing information. Like https://hal.archives-ouvertes.fr/hal-01295282/document

 

Link to comment
Share on other sites

  • 2 weeks later...

There are no SystemC specific profiling tools freely available. So either you use tools of well-know EDA vendors or used gprof, valgrind, ptrace, or alike to profile your simulation. Unfortunately they are not aware of sc_threads (or coroutines) so some creativity is needed to interpret the results.

I would also put some emphasis on memory allocation and managment. If the footprint gets larger caches need to be more often flushed and this cost quite some time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...