2 * Author: George V. Neville-Neil
5 #include "allobjects.h"
7 #include "modsupport.h"
14 start_timing(self
, args
)
18 if (!getargs(args
, ""))
27 finish_timing(self
, args
)
31 if (!getargs(args
, ""))
44 if (!getargs(args
, ""))
47 return newintobject(TIMINGS
);
56 if (!getargs(args
, ""))
59 return newintobject(TIMINGMS
);
67 if (!getargs(args
, ""))
70 return newintobject(TIMINGUS
);
75 static struct methodlist timing_methods
[] = {
76 {"start", start_timing
},
77 {"finish", finish_timing
},
89 m
= initmodule("timing", timing_methods
);