Add basic subroutine heat tracking