Looking in the members inside $Main or other code block, there doesn't seem to be one element that gives total ticks consumed running that block, or scan time fraction, or anything like that. You can't use the scan counter or ran this scan, because a block with a small time slice and a lot of yield points may run often but not long each time.
The user might try recording elapsed ticks on entry and exit, but with yielding the entry and exit points will vary from scan to scan.
So far I haven't been able to think of anything. If there's no way currently, would you guys consider adding CPU fraction as an element of the heap item? Maybe a rolling one second average or something.