Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7530529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:56:08+00:00 2026-05-30T04:56:08+00:00

I am doing profiling of a process. I have to profile cpu time,I/O blocking

  • 0

I am doing profiling of a process.
I have to profile cpu time,I/O blocking time .. and # of cache misses.
But I don’t know how to get cache misses.
I am analysing kernel source code, but I don’t know how to do. I know where source code about run queue is.
How can I get number of cache misses of a process?
I think it may be specific or technical question.
So, If you hesitate answering directly, please give me some hints or recommend book about how to get number of caches misses.
Answering directly is BEST.
Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:56:10+00:00Added an answer on May 30, 2026 at 4:56 am

    perf, cachegrind, oprofile, PTU, CodeAnalyst, and Zoom are a few options

    perf stat \
      --repeat 10 \
      -e cycles:u \
      -e instructions:u \
      -e l1-dcache-loads:u \
      -e l1-dcache-load-misses:u \
      -e l1-icache-loads:u \
      -e l1-icache-load-misses:u \
      -e llc-loads:u \
      -e llc-load-misses:u \
      a.out
    

    perf options: https://perf.wiki.kernel.org/articles/t/u/t/Tutorial.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was doing a time profiling at startup for my mac app and I
I'm doing some memory profiling on instruments and I feel like I have code
Currently I am doing the profiling to a piece of code. During the profiling,
Doing an ajax get request works as expected using the following code: $.ajax({ type:
Doing some jquery animation. I have certain divs set up with an attribute of
Hey, I'm totally behind this topic. Yesterday I was doing profiling using Python profiler
So I was doing some profiling of different ways to hit my SQLServer database.
I'm doing some loop-intensive calculations and converted the code into Cython. I did profiling
Doing some profiling (mem & speed) I've been stomped by the fact that win7
Our java process is eating up lot of CPU and the log shows its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.