Looking through a lot of the SMW code you're customly building function names
What's wrong with METHOD__/FUNCTION__
Simiarily, wfProfileIn( "SMWSQLStore2::getInProperties (SMW)" );
Do you need to add the "(SMW)"?? And why are you hard coding those anyway?
Version: unspecified
Severity: minor