[profiler] Change sample frequency to a 32-bit int.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Sat, 15 Jul 2017 20:55:08 +0000 (22:55 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Sat, 15 Jul 2017 21:08:24 +0000 (23:08 +0200)
commit6214c2e6edf147dad216dad8fa45c11dca1b4a17
treebc681ad6810c4e6c33c54f46db6cc520604820ca
parentc44957bab3c1092af3bf5ad56b45836365326322
[profiler] Change sample frequency to a 32-bit int.

The unit is hertz, so values above 100-1000 are already extremely unusual.
Changing it to a 32-bit int avoids word tearing on 32-bit platforms.
mono/metadata/profiler-private.h
mono/metadata/profiler.c
mono/metadata/profiler.h
mono/mini/mini-posix.c
mono/profiler/log.c