from multiprocessing import Process
import time
import os

def run(id):
	#then = time.clock_gettime(time.CLOCK_THREAD_CPUTIME_ID)
	ans = 0
	for i in range(10000000):
		ans += i
	#print(time.clock_gettime(time.CLOCK_THREAD_CPUTIME_ID))
	#os.system("time -v ./a.out 2> err{}".format(id))

run(0)

#threadcnt = 1
#for i in range(threadcnt):
#	thread = Process(target=run, args=(i,))
#	thread.start()
Forditási hiba