stopwatch, static variable in function has bug by vc