   tying external counters to profiling data
  I'm looking to link non-traditional profiling data (memory bandwidth, GPU utilization) with more typical data, such as CPU utilization and recent function execution. For example, I have a way to read hardware counters that say "the GPU executed this many instructions", and I would like to be able to loosely relate that to "this rendering function just spit out 300M polys, they're probably being processed".I'm looking at existing profiling tools like VTune and gprof, but there doesn't seem to be a way to extend them with this kind of data. I may just have to write my own libraries, and pipe the output to some 3rd-party visualization tool, but I would like to avoid that if possible. Does anyone know of any similar projects? Or even keywords for what this approach is called?   