Lines Matching full:os
17 import os
27 working_path = os.getcwd() + '/' + working_dir_name # /path/to/lz4/tests/speedTest
30 pid = str(os.getpid())
126 if not os.path.isfile(resultsFileName):
150 while os.getloadavg()[0] > args.maxLoadAvg:
152 % (os.getloadavg()[0], args.maxLoadAvg, sleepTime))
154 start_load = str(os.getloadavg())
156 end_load = str(os.getloadavg())
185 if os.path.isfile(commitFileName):
262 fileName = os.path.expanduser(fileName)
263 if os.path.isfile(fileName) or os.path.isdir(fileName):
264 testFilePaths.append(os.path.abspath(fileName))
297 if not os.path.isdir(working_path):
298 os.mkdir(working_path)
299 if not os.path.isdir(clone_path):
302 if not os.path.isdir(clone_path):
309 if os.path.isfile(pidfile):
328 loadavg = os.getloadavg()[0]
349 os.unlink(pidfile)