libScarPhase C/C++ libarary for detecting runtime phases. See ScarPhase for more information and how to use the library.