Looking for Millis()

I am in the process of adapting from arduino to nRF52-DK. I just started playing with mbed and am looking for the equalivant of blink without delay so that I can do things without using wait, where nothing else can happen during that time. What is the equivalent of millis on mbed?

Also, is there a way on the compiler to section parts off so that the user can minimize certain code so that it is easier to work without having to scroll through everything? I saw that keil uvision offered that feature, but they wanted $1,000+ per year per person to use their software. How they sleep at night is beyond my understanding. I am very thankful that mbed adapted the nRF52-DK into their line.

Take a look at Ticker, or run your code in an RTOS Thread.

mbed Studio offers this.