You could use the timer class, but in the same header as that is defined is the "GetTime()" function, which is used internally in the class, and is simpler to work with.
Using it would look something like this:
Code:
void Robot::AutonomousContinuous()
{
double timeChange = GetTime() - lastTime
//Time dependent Code..
lastTime = GetTime();
}
(this code snippet assumes you've got a lastTime variable in your class)