404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.144.227.3: ~ $
# Simple interface to report execution times of program fragments.
# Call TSTART() to reset the timer, TSTOP(...) to report times.

import sys, os, time

def TSTART():
    global t0, t1
    u, s, cu, cs = os.times()
    t0 = u+cu, s+cs, time.time()

def TSTOP(*label):
    global t0, t1
    u, s, cu, cs = os.times()
    t1 = u+cu, s+cs, time.time()
    tt = []
    for i in range(3):
        tt.append(t1[i] - t0[i])
    [u, s, r] = tt
    msg = ''
    for x in label: msg = msg + (x + ' ')
    msg = msg + '%r user, %r sys, %r real\n' % (u, s, r)
    sys.stderr.write(msg)

Filemanager

Name Type Size Permission Actions
MANIFEST File 361 B 0644
README File 1.23 KB 0644
T.py File 575 B 0644
T.pyc File 952 B 0644
T.pyo File 952 B 0644
mountclient.py File 6.48 KB 0644
mountclient.pyc File 5.58 KB 0644
mountclient.pyo File 5.58 KB 0644
nfsclient.py File 5.2 KB 0644
nfsclient.pyc File 6.74 KB 0644
nfsclient.pyo File 6.74 KB 0644
rnusersclient.py File 2.57 KB 0644
rnusersclient.pyc File 5.01 KB 0644
rnusersclient.pyo File 5.01 KB 0644
rpc.py File 26.98 KB 0644
rpc.pyc File 29.72 KB 0644
rpc.pyo File 29.72 KB 0644
test File 697 B 0644
xdr.py File 4.93 KB 0644
xdr.pyc File 7.72 KB 0644
xdr.pyo File 7.72 KB 0644