aboutsummaryrefslogtreecommitdiffstats
path: root/samples/networkcapacity.yaml
blob: 1432d3a2de7d2107b4bf28377bd1dfd0cee1659a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample benchmark task config file
# Measure compute capacity and scale.
# Including number of cores, number of threads, available memory size and
# cache size.

schema: "yardstick:task:0.1"

scenarios:
-
  type: NetworkCapacity
  host: node1.LF

  runner:
    type: Iteration
    iterations: 1

context:
  type: Node
  name: LF
  file: etc/yardstick/nodes/compass_sclab_virtual/pod.yaml
>(void) { struct user_return_notifier *urn; struct hlist_node *tmp2; struct hlist_head *head; head = &get_cpu_var(return_notifier_list); hlist_for_each_entry_safe(urn, tmp2, head, link) urn->on_user_return(urn); put_cpu_var(return_notifier_list); }