Measures how long the GPU takes for what's drawn between start() and stop(), e.g.
void start()
Starts measuring what's drawn from now on.
void stop()
Stops measuring, for poll() to return how long the GPU took once that's known.
std::optional< std::chrono::nanoseconds > poll()
The oldest measurement that has come in since the last call, in the order of stop(),...
static bool isSupported()
Whether the GPU's time can be measured here.