1) Some fixes to build on mac.
1) Added VMTimer.
2) Added its associated Runtime functions.
3) Modified --log-vm-state to print timer information as well.