duplicate glretrace into glperfretrace