#NEWLINE# def using( point = '' ) : #NEWLINE# #INDENT# usage = resource . getrusage ( resource . RUSAGE_SELF ) #NEWLINE# return ( '%s: usertime=%s systime=%s mem=%s mb\n           ' % ( point , usage [ 0 ] , usage [ 1 ] , ( ( usage [ 2 ] * resource . getpagesize ( ) ) / 1000000.0 ) ) )