remove enum2string function, add start_time and end_time of xaction