getNetFrameRate() returns Nan

I am using a ClockObject to measure the average FPS but getNetFrameRate is returning Nan.

Using the GlobalClock works, but if I try to reset it gives me two warnings and the FPS rate gets crazy for some time (-400 for instance).

Any ideas of what i may be doing wrong?