2

I am trying to determine how close to being bandwidth-limited a code I have written is, so I was wondering whether there are any tools out there to determine memory bandwidth usage? The code I have is a command-line *nix code, and if possible I'd like to measure the bandwidth usage on Mac (but Linux is ok too).

astrofrog
  • 1,687
  • 3
  • 16
  • 13
  • in the equivalent of task manager (task monitor?) there isn't some that will tell you how much bandwidth a process has consumed? – soandos Aug 06 '12 at 11:33

1 Answers1

1

You can use cachegrind. Memory bandwidth is essentially the same as misses in the lowest-level cache.

David Schwartz
  • 61,528
  • 7
  • 100
  • 149