I Hold Everything

I hold all that has been and all that will be, with a device you can see me. When I am short you race me, I am valuable and once lost I am gone forever. What am I?