Change pg_cputime() to output the result directly.
Change memusage function to retrieve the result directly.
Fix data types for memusage functions