Cycle tracker for #374

This PR should resolve the branch at #374 to create a debug metric and display it in debugger file.