C++ (or C) Timer Resources