[Git][wine/wine][master] 7 commits: kernelbase: Factor out common functionality for performance counter functions.