1 # Copyright 2015 Intel Corporation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # ############################
16 # Collector configuration
17 # ############################
20 COLLECTOR_DIR = os.path.join(ROOT_DIR, 'tools/collectors')
22 # processes to be monitored by pidstat
23 PIDSTAT_MONITOR = ['ovs-vswitchd', 'ovsdb-server', 'qemu-system-x86_64']
25 # options which will be passed to pidstat
26 PIDSTAT_OPTIONS = '-dur'
28 # sampling interval used by pidstat to collect statistics
29 PIDSTAT_SAMPLE_INTERVAL = 1
31 # prefix of pidstat's log file; separate log file is created
32 # for each testcase in the directory with results
33 LOG_FILE_PIDSTAT = 'pidstat'