aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_performance_tests/hdrh_packet_latency_graphs/l2-2n-skx-xxv710.rst
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-11 14:03:18 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-11 14:09:21 +0100
commit7b890eb5e4fda01ea1147033f86824247f1a6cf5 (patch)
tree0e710a5e0d45ad4f40a1e486d92eb1d81c5aff1f /docs/report/vpp_performance_tests/hdrh_packet_latency_graphs/l2-2n-skx-xxv710.rst
parent9e7b9a25c033cf6469f22217af82d5e5c91e85e9 (diff)
Report: Add data
Change-Id: I5e36d083d67b9e987d77388fe6c565f521702117 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'docs/report/vpp_performance_tests/hdrh_packet_latency_graphs/l2-2n-skx-xxv710.rst')
0 files changed, 0 insertions, 0 deletions
class="c"># # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ############################################################################## # Highlight WARNING and ERROR messages ############################################################################## function(message) list(GET ARGV 0 type) if("$ENV{TERM}" STREQUAL "xterm-256color") string(ASCII 27 esc) set(red "${esc}[1;31m") set(yellow "${esc}[1;33m") set(reset "${esc}[m") endif() if(type STREQUAL FATAL_ERROR OR type STREQUAL SEND_ERROR) list(REMOVE_AT ARGV 0) _message(${type} "${red}${ARGV}${reset}") elseif(type STREQUAL WARNING) list(REMOVE_AT ARGV 0) _message(STATUS "${yellow}${ARGV}${reset}") elseif(type STREQUAL STATUS) list(REMOVE_AT ARGV 0) _message(STATUS "${ARGV}") else() _message(${ARGV}) endif() endfunction() ############################################################################## # aligned config output ############################################################################## function(pr desc val) if("$ENV{TERM}" STREQUAL "xterm-256color") string(ASCII 27 esc) set(reset "${esc}[m") set(cyan "${esc}[36m") endif() string(LENGTH ${desc} len) while (len LESS 20) set (desc "${desc} ") string(LENGTH ${desc} len) endwhile() _message("${cyan}${desc}${reset}: ${val}") endfunction() ############################################################################## # string append ############################################################################## macro(string_append var str) if (NOT ${var}) set(${var} "${str}") else() set(${var} "${${var}} ${str}") endif() endmacro()