Searched refs:base_path (Results 1 – 1 of 1) sorted by relevance
9 base_path = "/sys/devices/system/cpu" variable10 fd = open("{}/kernel_max".format(base_path))15 fd = open("{}/cpu{}/topology/core_id".format(base_path, cpu))20 fd = open("{}/cpu{}/topology/physical_package_id".format(base_path, cpu))32 print(format("=" * (47 + len(base_path))))33 print("Core and Socket Information (as reported by '{}')".format(base_path))34 print("{}\n".format("=" * (47 + len(base_path))))