windows implementation based on typeperf tool