added function level cycle measurements
Merge remote-tracking branch 'origin/master'