Add time counting for local serial version.