Skip to content
Advertisement

Tag: profiling

Where is the memusage command in Ubuntu? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

definition of linux perf cache-misses event?

I am trying to use linux perf to profile cache performance. perf list shows there is a cache-misses event. However, what’s the definition of this “cache-misses” event? Is it one of L1D/L1i cache, L2 cache or L3 cache? Thanks! Answer The cache-misses event corresponds to the misses in the last level cache (LLC). Note that this is an architectural performance

Linux get context switch timing

I’m implementing some form of internal profiler. Is there a way to know when and for how long a thread is context switched out? I know windows has it w the event tracing api and I know perf logs how many context switches happens. Is there a way to do it on linux? Needing root privileges is not an issue

Is there any profiler that works with -fomit-frame-pointer on x86_64?

SysProf doesn’t properly generate call stack without it, GProf isn’t accurate at all. And also, are profilers that work without -fno-omit-frame-pointer as accurate as those that rely on it? Answer There are none that I’m aware of. With frame pointers, walking a stack is a fairly simple exercise. You simply dereference the frame pointer to find the old frame pointer,

Advertisement