refactor util; add statistics for instruction executor