Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > d1f06a5336fd6bf4a381b72b8d2b5ce1 > files > 105

gprolog-1.2.16-3mdk.ppc.rpm

% hook file for YAP Prolog

% Count is passed on the command line as -- Count
get_count(Count) :-
	unix(argv(L)),
	L = [ACount|_],
	atom_codes(ACount, LCodes),
	number_codes(Count, LCodes).

get_cpu_time(T) :-
	statistics(runtime, [T, _]).

:- initialization(q).