A GCC plugin, inserting code that updates the counter on some field of some structure. It could be used to put the important fields on top of the structure, to maybe improve cache efficiency.