]> gitweb.factorcode.org Git - factor.git/commit
vm: groundwork for sampling profiler
authorJoe Groff <arcata@gmail.com>
Fri, 28 Oct 2011 22:42:33 +0000 (15:42 -0700)
committerJoe Groff <arcata@gmail.com>
Wed, 2 Nov 2011 20:23:06 +0000 (13:23 -0700)
commit80fb7788d926db85ab85783d53e915d1cbf4c99d
tree933366ede3a68ecfc7f1683f192c07a08d170e96
parent33919b291957a5b66eeb242d103098a747dfdf42
vm: groundwork for sampling profiler
Set up the state necessary to collect samples. We still need to add GC support for walking the sample set, and the compiler needs to register GC roots before safepoints as well. We also need primitives to expose the data to Factor for reporting.
GNUmakefile
Nmakefile
vm/errors.cpp
vm/master.hpp
vm/os-unix.cpp
vm/primitives.hpp
vm/sampling_profiler.cpp [new file with mode: 0644]
vm/sampling_profiler.hpp [new file with mode: 0644]
vm/utilities.hpp
vm/vm.cpp
vm/vm.hpp