We should add the current number of cycles to the core so that people can use the info for debugging.