runtime_stats: rename func