Searched refs:csv (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A DMakefile12 @echo "\`make csv-files\`"
13 @echo " Creates new csv-files using content of c-files of existing"
14 @echo " ni_routing/* content. New csv files are placed in csv"
17 @echo " Creates new c-files using content of csv sub-directory. These"
20 @echo "\`make csv-blank\`"
21 @echo " Create a new blank csv file. This is useful for establishing a"
25 @echo " Remove all generated files/directories EXCEPT for csv/c files."
29 @echo " Build all csv-files, then all new c-files."
31 everything : csv
[all...]
H A Dmake_blank_csv.py5 import os, csv namespace
10 CSV_DIR = 'csv'
18 csv_fname = path.join(CSV_DIR, 'blank_route_table.csv')
24 dR = csv.DictWriter(F_csv, fieldnames, delimiter=';', quotechar='"')
H A Dconvert_py_to_csv.py5 import os, csv namespace
12 CSV_DIR = 'csv'
34 csv_fname = path.join(CSV_DIR, name + '.csv')
36 dR = csv.DictWriter(F_csv, fieldnames, delimiter=';', quotechar='"')
39 # now change the json back into the csv dictionaries
H A Dcsv_collection.py3 import os, csv, glob namespace
28 dR = csv.DictReader(F, delimiter=self.delimiter,
/linux-master/tools/arch/x86/kcpuid/
H A DMakefile24 install -m 444 -p cpuid.csv $(HWDATADIR)/cpuid.csv
/linux-master/tools/perf/tests/shell/
H A Dtest_task_analyzer.sh17 rm -f csv
130 perf script report task-analyzer --csv csv > /dev/null
131 check_exec_0 "perf script report task-analyzer --csv csv"
132 find_str_or_fail "Comm;" csv "${FUNCNAME[0]}"
136 perf script report task-analyzer --csv csv --extended-times > /dev/null
137 check_exec_0 "perf script report task-analyzer --csv csv
[all...]
H A Dstat+csv_summary.sh2 # perf stat csv summary test
24 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary --no-csv-summary 2>&1 | \
H A Dstat+csv_output.sh14 stat_output=$(mktemp /tmp/__perf_test.stat_output.csv.XXXXX)
/linux-master/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh13 # 7) Analyse test results and save it in file selftest.gitsource.csv.
31 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_GIT.csv > /dev/null 2>&1
37 if [ -f $OUTFILE_GIT.csv ]; then
38 sed -i '/Comprison(%)/d' $OUTFILE_GIT.csv
39 sed -i "/$(scaling_name)/d" $OUTFILE_GIT.csv
43 # find string $1 in file csv and get the number of lines
46 if [ -f $OUTFILE_GIT.csv ]; then
47 return `grep -c "$1" $OUTFILE_GIT.csv`
104 awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log
108 awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | se
[all...]
H A Dtbench.sh11 # 5) Analyse test results and save it in file selftest.tbench.csv.
26 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_TBENCH.csv > /dev/null 2>&1
32 if [ -f $OUTFILE_TBENCH.csv ]; then
33 sed -i '/Comprison(%)/d' $OUTFILE_TBENCH.csv
34 sed -i "/$(scaling_name)/d" $OUTFILE_TBENCH.csv
38 # find string $1 in file csv and get the number of lines
41 if [ -f $OUTFILE_TBENCH.csv ]; then
42 return `grep -c "$1" $OUTFILE_TBENCH.csv`
86 awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-des-perf-$1-$2.log
90 awk '{print $7}' results/tracer-tbench-$1-$2/cpu.csv | se
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dconfig2csv.sh7 # Usage: config2csv path.csv [ "scenario1 scenario2 ..." ]
12 # and also its .boot file, if present, and create a column in the .csv
20 echo "Need .csv output file as first argument."
65 awk -f $T/p.awk < /dev/null > $T/p.csv
66 cp $T/p.csv $csvout
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py46 # Define the csv file columns
91 print(' cpu.csv - comma seperated values file with trace contents and some additional calculations.')
92 print(' cpu???.csv - comma seperated values file for CPU number ???.')
103 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
124 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
143 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
158 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
174 if os.path.exists('cpu.csv'):
182 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shel
[all...]
/linux-master/drivers/gpu/drm/ci/
H A Digt_runner.sh91 --results /results/failures.csv \
/linux-master/drivers/scsi/
H A Dch.c868 struct changer_set_voltag csv; local
871 if (copy_from_user(&csv, argp, sizeof(csv)))
874 if (0 != ch_checkrange(ch, csv.csv_type, csv.csv_unit)) {
878 elem = ch->firsts[csv.csv_type] + csv.csv_unit;
881 csv.csv_flags & CSV_AVOLTAG,
882 csv.csv_flags & CSV_CLEARTAG,
883 csv
[all...]
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py39 # Define the csv file columns
67 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
84 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
99 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
121 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
122 plot_str = "plot for [i in title_list] i.'.csv' using {:d}:{:d} pt 7 ps 1 title i".format(C_ELAPSED, C_FREQ)
135 title_list = subprocess.check_output('ls cpu???.csv | sed -e \'s/.csv//\'',shell=True).decode('utf-8').replace('\n', ' ')
136 plot_str = "plot for [i in title_list] i.'.csv' usin
[all...]
/linux-master/tools/perf/scripts/python/
H A Dtask-analyzer.py160 "--csv",
166 "--csv-summary",
803 if args.csv == args.csv_summary:
804 sys.exit("Error: Chosen files for csv and csv summary are the same")
805 if args.csv and (args.summary_extended or args.summary) and not args.csv_summary:
806 sys.exit("Error: No file chosen to write summary to. Choose with --csv-summary "
808 if args.csv and args.summary_only:
809 sys.exit("Error: --csv chosen and --summary-only. Standard task would not be"
810 "written to csv fil
[all...]
/linux-master/tools/perf/pmu-events/
H A Djevents.py5 import csv namespace
718 with open(f'{_args.starting_dir}/{arch}/mapfile.csv') as csvfile:
719 table = csv.reader(csvfile)
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat1729 argparser.add_argument('-c', '--csv',
1732 help='log in csv format - requires option -l/-L',
1788 if options.csv and not (options.log or options.log_to_file):
1789 sys.exit('Error: Option -c/--csv requires -l/--log')
1875 if options.csv:
/linux-master/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py3 import csv namespace

Completed in 192 milliseconds