Add CPU pinning support for node context
[yardstick.git] / yardstick / definitions.py
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from __future__ import absolute_import
10 import os
11
12 dirname = os.path.dirname
13 YARDSTICK_ROOT_PATH = dirname(dirname(os.path.abspath(__file__)))
14 YARDSTICK_ROOT_PATH += os.path.sep