Qsoftcounter measures the number of floating point, integer, and memory operations performed during a program's execution using software counters. This is accomplished by statically instrumenting a binary using Atom.
Go to the Qsoftcounter site at SourceForge.net for more information on Qsoftcounter and to download the source code.