[ Fixes #62836188 ] Updated srand to use clock() rather than time() to
seed more often than once per second.