Blame SOURCES/bltk-1.0.9-man.patch

983249
--- curr-1.0.9/doc/bltk.1	1970-01-01 01:00:00.000000000 +0100
983249
+++ curr-1.0.9-1/doc/bltk.1	2009-07-21 14:17:29.191118317 +0200
983249
@@ -0,0 +1,313 @@
983249
+.TH BLTK 1 "15 July 2008" "BLTK" "Battery life tool kit"
983249
+.SH NAME
983249
+bltk \- tool kit is used to measure battery life and performance under
983249
+different workloads on Linux.
983249
+.SH SYNOPSIS
983249
+.B bltk
983249
+[\-hVvaNAcCBXswiIRDPGOYZyQzxul] [\-t sec] [\-r results_dir]
983249
+[\-m {0,1}] [\-U path] [\-g setup] [\-J pid] [\-T time]
983249
+[\-F file] [\-W app] [\-L title] [\-K comment] [\-e app]
983249
+[\-E app] [\-p percent] [\-d percent] [\-o {0,1,2}] [\-q file]
983249
+[\-b percent] [\-f command] [\-k num]
983249
+.SH DESCRIPTION
983249
+\fBThe BLTK\fR can be used with various workloads to simulate different types of laptop usage.  The following workloads are currently implemented:
983249
+.RS
983249
+.TP
983249
+\fBIdle workload\fR
983249
+collect statistics only (mostly used to measure battery life)
983249
+.TP
983249
+\fBDeveloper workload\fR
983249
+simulates code development in Linux environment
983249
+.TP
983249
+\fBReader workload\fR
983249
+simulates text reading on laptop (mostly used to measure battery life)
983249
+.TP
983249
+\fBPlayback workload\fR
983249
+simulates laptop entertaining usage (produces constant average load on the system)
983249
+.TP
983249
+\fB3d game workload\fR
983249
+simulates 3D-gaming on laptop (Unreal Tournament demo is used to create this workload)
983249
+.TP
983249
+\fBOffice Activity workload\fR
983249
+simulates laptop usage for different office activities (based on OpenOffice.org office suit)
983249
+.RE
983249
+.PP
983249
+When started, test collects platform/OS initial info and if it's OK prompts
983249
+user to unplug AC adapter. After cable unplugged, workload started. During the
983249
+workload execution test harness collects various system information (e.g.
983249
+CPU load, battery drain, display state, CPU frequency, etc...). After battery
983249
+completely discharged user should plug the AC cable back and boot the system.
983249
+When it is done the results are available.
983249
+.PP
983249
+There are several tools for result evaluation. They allow creating report file
983249
+for test run, to gather results into a table for system comparison, and
983249
+to draw graphs for different purposes.
983249
+.PP
983249
+\fBResults\fR \- after the battery dies and the system booted back, the results are
983249
+available. They are stored in 'bltk/<wokload_name>.results' directory (or in the directory, specified in \-r option). If target directory already exist the tool
983249
+will add numeric extension to its name (.001, .002 e.t.c.) The results consist of the
983249
+following files (see below for detailed description):
983249
+.TP
983249
+.B cmd
983249
+In this file 'bltk' command with arguments are stored
983249
+.TP
983249
+.B infoi<N>.log (info1.log, info2.log, ...)
983249
+Here initial system info is stored. Another two files (info1.log,
983249
+info2.log) contains system info after AC adapter was unplugged, and on 5%
983249
+battery capacity remained. They are used to check whether any changes occurred
983249
+during test execution.
983249
+.TP
983249
+.B stat.log
983249
+Statistics generated by bltk harness are stored here. One statistic line generated per 1 minute (or per number of seconds, specified in -t option).
983249
+.TP
983249
+.B system<N>
983249
+When -k 1 is used, the system information is stored under this directory. The numbers at the end of directory name have the following meanings:
983249
+.RS
983249
+.TP
983249
+.B 0
983249
+initial system info 
983249
+.TP
983249
+.B 1
983249
+system info after AC adapter was unplugged
983249
+.TP
983249
+.B 2
983249
+system info on 5% battery capacity remained
983249
+.RE
983249
+.TP
983249
+.B version
983249
+this file contains version information
983249
+.TP
983249
+.B workload
983249
+the file contains info about workload
983249
+.TP
983249
+.B work_out.log
983249
+.TP
983249
+.B err.log
983249
+There are stored any error messages
983249
+.TP
983249
+.B warning.log
983249
+Contains warnings
983249
+.TP
983249
+.B work.log
983249
+Strings generated by USR1, USR2 signals from workload. String format is the same as in the 'stat.log' file.
983249
+.TP
983249
+.B fail
983249
+when test fails
983249
+.TP
983249
+.B score
983249
+.TP
983249
+.B Report
983249
+.TP
983249
+.B Report.table
983249
+.SH OPTIONS
983249
+.TP
983249
+.BR "\-h" , " \--help"
983249
+Help; display a help message and then exits.
983249
+.TP
983249
+.BR "\-V", " \--version"
983249
+Version; display version number and then exits.
983249
+.TP
983249
+.BR "\-v", " \--verbose"
983249
+Verbose
983249
+.TP
983249
+.BR "\-a", " \--ac-ignore"
983249
+ignore ac adapter state check (on/off)
983249
+.TP
983249
+.BR "\-N", " \--time-stat-ignore"
983249
+disable time statistics
983249
+.TP
983249
+.BR "\-A", " \--ac-stat-ignore"
983249
+disable ac adapter statistics
983249
+.TP
983249
+.BR "\-c", " \--cpu-stat-ignore"
983249
+disable cpu load statistics
983249
+.TP
983249
+.BR "\-C", " \--cpu-add-stat-ignore"
983249
+disable cpu additional statistics
983249
+.TP
983249
+.BR "\-B", " \--bat-stat-ignore"
983249
+disable battery statistics
983249
+.TP
983249
+.BR "\-X", " \--disp-stat-ignore"
983249
+Disable display state statistics
983249
+.TP
983249
+.BR "\-H", " \--hd-stat-ignore"
983249
+disable hard drive state statistics
983249
+.TP
983249
+.BR "\-t " seconds, " \--report-time " seconds
983249
+frequency of report line generation in seconds
983249
+.TP
983249
+.BR "\-r " results_dir, " \--results " results_dir
983249
+name of results directory
983249
+.TP
983249
+.BR "\-s", " \--stat-ignore"
983249
+disable all statistics
983249
+.TP
983249
+.BR "\-w", " \--work-stat-ignore"
983249
+disable workload statistics
983249
+.TP
983249
+.BR "\-m " {0,1}, " \--stat-memory " {0,1}
983249
+dump statistics directly on disk or keep in memory, if statistics are kept in memory, it will be dumped	on disk at low battery capacity, or at the test end
983249
+.RS
983249
+.TP
983249
+.B 0
983249
+disk
983249
+.TP
983249
+.B 1
983249
+memory (by default)
983249
+.RE
983249
+.TP
983249
+.BR "\-i", " \--idle-test"
983249
+idle test
983249
+.TP
983249
+.BR "\-I", " \--idle"
983249
+idle workload
983249
+.TP
983249
+.BR "\-R", " \--reader"
983249
+reader workload
983249
+.TP
983249
+.BR "\-D", " \--developer"
983249
+developer workload
983249
+.TP
983249
+.BR "\-P", ' \--player"
983249
+playback workload
983249
+.TP
983249
+.BR "\-G", " \--game"
983249
+3D-gaming workload
983249
+.TP
983249
+.BR "\-O", " \--office"
983249
+office productivity workload
983249
+.TP
983249
+.BR "\-U " path, " \--user " path
983249
+user-specified workload (path to executable)
983249
+.TP
983249
+.BR "\-g " routine, " \--user-init " routine"
983249
+setup routines for user-specified workload
983249
+.TP
983249
+.BR "\-Y", " \--discharging"
983249
+battery discharge mode
983249
+.TP
983249
+.BR "\-Z", " \--charging"
983249
+battery charge mode
983249
+.TP
983249
+.BR "\-J " pid, " \--jobs " pid
983249
+make jobs number
983249
+.TP
983249
+.BR "\-T " seconds, " \--time " seconds
983249
+workload time
983249
+.TP
983249
+.BR "\-F", " \--file"
983249
+workload file
983249
+.TP
983249
+.BR "\-W", " \--prog"
983249
+workload program
983249
+	name of player (player workload, default 'mplayer')
983249
+	name of web-browser (reader workload, default 'firefox')
983249
+.TP
983249
+.BR "\-L", " \--title"
983249
+title of web-browser document
983249
+.TP
983249
+.BR "\-M", " \--manufacturer"
983249
+enable time and cpu load statistics only
983249
+.TP
983249
+.BR "\-S", " \--show"
983249
+demo/debug mode, one iteration only
983249
+.TP
983249
+.BR "\-n", " \--show-num"
983249
+demo/debug mode, 'show-num' iteration
983249
+.TP
983249
+.BR "\-j", " \--show-cnt"
983249
+demo/debug mode, 'show-cnt' sub iteration
983249
+.TP
983249
+.BR "\-T " seconds, " \--show-time " seconds
983249
+demo/debug mode, debug time
983249
+.TP
983249
+.BR "\-K " comment, " \--comment " comment
983249
+user comment for report
983249
+.TP
983249
+.BR "\-e " application, " \--init-prog " application
983249
+run program before test starting
983249
+.TP
983249
+.BR "\-E " application, " \--init-prog-su " application
983249
+run program as root before test starting
983249
+.TP
983249
+.BR "\-y", " \--yes"
983249
+auto 'yes' answer to all questions
983249
+.TP
983249
+.BR "\-Q", " \--debug"
983249
+debug workload (see cpu-load and disp-load below)
983249
+.TP
983249
+.BR "\-p " percent, " \--cpu-load " percent
983249
+debug workload, the time cpu loaded in percent
983249
+.TP
983249
+.BR "\-d " percent, " \--disp-load " percent
983249
+Debug workload, the time display on in percent
983249
+.TP
983249
+.BR "\-o " {0,1,2}, " \--output " {0,1,2}
983249
+direct workload output:
983249
+.RS
983249
+.TP
983249
+.B 0
983249
+file
983249
+.TP
983249
+.B 1
983249
+file and console
983249
+.TP
983249
+.B 2
983249
+/dev/null, other - console
983249
+.RE
983249
+.TP
983249
+.BR "\-z", " \--debug-vars"
983249
+debug option
983249
+.TP
983249
+.BR "\-q " file, " \--debug-vars-file " file
983249
+debug option - debug variables file
983249
+.TP
983249
+.BR "\-x", " \--dpms"
983249
+debug option - try to use display power management
983249
+.TP
983249
+.BR "\-u", " \--spy"
983249
+debug option - try to find out unexpected system activity
983249
+.TP
983249
+.BR "\-l", " \--simul-laptop"
983249
+debug option, laptop simulation
983249
+.TP
983249
+.BR "\-b " percent, " \--bat-sync " percent
983249
+debug option, battery critical capacity, default 5%
983249
+.TP
983249
+.BR "\-f " command, " \--user-field " command
983249
+the output of user-specified command being added to statistics
983249
+Example:
983249
+	-f "cat /proc/acpi/thermal_zone/TZ01/temperature | awk '{print \$2}'"
983249
+.TP
983249
+.BR "\-k " num, " \--stat-system " num
983249
+debug option, save system files, default 0
983249
+.SH EXAMPLES
983249
+.TP
983249
+bltk -I or --idle
983249
+idle workload running
983249
+.TP
983249
+bltk -R or --reader
983249
+reader workload running
983249
+.TP
983249
+bltk -D or --developer
983249
+developer workload running
983249
+.TP
983249
+bltk -O or --office
983249
+office workload running
983249
+.TP
983249
+bltk -P or --player
983249
+player workload running
983249
+.TP
983249
+bltk -G or --game
983249
+game workload running
983249
+.TP
983249
+bltk -i or --idle-test -T 60 -t 1
983249
+idle test running for 60 seconds, stats interval 1 second
983249
+.SH SEE ALSO
983249
+\fBbltk.conf\fR(5), \fBbltk_report\fR(1)
983249
+.SH AUTHOR
983249
+.nf
983249
+Konstantin Karasyov   <konstantin.a.karasyov@intel.com>
983249
+Vladimir Lebedev      <vladimir.p.lebedev@intel.com>
983249
+.fi
983249
--- curr-1.0.9/doc/bltk_report.1	1970-01-01 01:00:00.000000000 +0100
983249
+++ curr-1.0.9-1/doc/bltk_report.1	2009-07-21 15:31:40.943332988 +0200
983249
@@ -0,0 +1,167 @@
983249
+.TH BLTK_REPORT 1 "15 July 2008" "BLTK_REPORT" 
983249
+.SH NAME
983249
+bltk_report \- automated report creation
983249
+bltk_report_table \- summary table creation from several results folders
983249
+bltk_plot \- graph drawing
983249
+.SH SYNOPSIS
983249
+.B bltk_report
983249
+[\-hdofI013EiS] [\-r ] [\-s ] [\-b ] [\-c ]
983249
+[\-U ] [\-B ] [\-D ] [\-C ] [\-P ] [\-K ] [\-R ]
983249
+[\-2 ] [\-4 ] directory...
983249
+.PP
983249
+.B
983249
+bltk_report_table
983249
+[\-hdstfuEe13SR] [\-2 ] [\-4 ] [\-F ] directory ...
983249
+.PP
983249
+.B bltk_plot
983249
+[\-hDswy1vnr] [\-d ] [\-f ] [\-x ] [\-X ] [\-Y ]
983249
+[\-t ] [\-o ] [\-2 ] [\-p ] results_dir ...
983249
+.SH DESCRIPTION
983249
+The following tools are implemented for results analysis:
983249
+.TP
983249
+.B bltk_report
983249
+automated report creation
983249
+.TP
983249
+.B bltk_report_table
983249
+summary table creation from several results folders
983249
+.TP
983249
+.B bltk_plot
983249
+graph drawing
983249
+.SH GENERAL OPTIONS
983249
+.TP
983249
+.B \-h
983249
+theis help
983249
+.TP
983249
+.B \-1
983249
+first statistic item of score file is ignored
983249
+.TP
983249
+.BR "\-2 " item:num
983249
+statistic from item 'item', 'num' number of score file
983249
+.TP
983249
+.B -f
983249
+statistics file name
983249
+.SH SPECIFIC OPTIONS
983249
+.B bltk_report
983249
+.RS
983249
+.TP
983249
+.B \-o
983249
+print report to output
983249
+.TP
983249
+.BR "\-K " string
983249
+comment string
983249
+.TP
983249
+.BR "\-R " filename
983249
+argument will be used as report file name
983249
+.TP
983249
+.B \-3 
983249
+first statistic item of stat.log file is ignored
983249
+.TP
983249
+.BR "\-4 " item:num
983249
+statistic from item 'item', 'num' number of stat.log file
983249
+.TP
983249
+.B \-E
983249
+errors being ignored (allows to create report file anyway)
983249
+.TP
983249
+.B \-i
983249
+idle mode
983249
+.RE
983249
+.PP
983249
+.B bltk_report_table
983249
+.RS
983249
+.TP
983249
+.B \-d
983249
+debugging mode
983249
+.TP
983249
+.B \-s
983249
+sort result lines
983249
+.TP
983249
+.B \-t
983249
+Excel-compatible file format
983249
+.TP
983249
+.B \-3
983249
+first statistic item of stat.log file is ignored
983249
+.TP
983249
+.BR "\-4 " item:num
983249
+statistic from item 'item', 'num' number of stat.log file
983249
+.TP
983249
+.B \-u
983249
+only columns which contain different values will be included into table
983249
+.TP
983249
+.B \-E
983249
+errors being ignored (allows to create result table anyway)
983249
+.TP
983249
+.B \-e
983249
+skip error results
983249
+.TP
983249
+.BR "\-F " filter
983249
+only fields from filter file will be included into table (see doc/filter as an example)
983249
+.TP
983249
+.B \-S
983249
+split mode - split multiple values to columns
983249
+.TP
983249
+.B \-R
983249
+analyze all results dirs under passed directories
983249
+.RE
983249
+.PP
983249
+.B bltk_plot
983249
+.RS
983249
+.TP
983249
+.B \-D
983249
+debugging mode
983249
+.TP
983249
+.BR "\-d " results_dir
983249
+results directory name. This option could be passed several times default is current directory.
983249
+.TP
983249
+.B \-s
983249
+use stat.log file
983249
+.TP
983249
+.B \-w
983249
+use work.log file
983249
+.TP
983249
+.BR "\-x " name
983249
+argument is used to be an X parameter default is 'time' field
983249
+.TP
983249
+.BR "\-y " name ...
983249
+argument is used to be an Y parameter this option could be passed several times default is 'cap' field
983249
+.TP
983249
+.BR "\-X " x1:x2
983249
+x range from x1 to x2
983249
+.TP
983249
+.BR "\-Y " y1:y2
983249
+y range from y1 to y2
983249
+.TP
983249
+.B \-t title
983249
+graph title
983249
+.TP
983249
+.BR "\-o " options
983249
+options passed to 'plot' command
983249
+.TP
983249
+.B \-v
983249
+print current variables
983249
+.TP
983249
+.BR "\-p " file
983249
+save graph to specified file
983249
+.TP
983249
+.B \-n
983249
+print available field's names
983249
+.TP
983249
+.B \-R
983249
+analyze all results dirs under passed directories
983249
+.RE
983249
+.SH EXAMPLE
983249
+.TP
983249
+bltk_report_table <results1> ... <resultsn> >sum
983249
+Common results table will be generated in 'sum' file for <results1> ... <resultsn> directories.
983249
+.TP
983249
+bltk_report result
983249
+\'Report\' file will be generated in results directory
983249
+.TP
983249
+bltk_plot -y bat -x N <results_dir1> ... <results_dir>
983249
+Common graph will be generated for <results_dir1> ... <results_dirn>
983249
+.SH SEE ALSO
983249
+\fBbltk\fR(1), \fBbltk.conf\fR(5)
983249
+.SH AUTHOR
983249
+.nf
983249
+Konstantin Karasyov   <konstantin.a.karasyov@intel.com>
983249
+Vladimir Lebedev      <vladimir.p.lebedev@intel.com>
983249
+.fi
983249
--- curr-1.0.9/doc/bltk.conf.5	1970-01-01 01:00:00.000000000 +0100
983249
+++ curr-1.0.9-1/doc/bltk.conf.5	2009-07-17 11:03:54.891127310 +0200
983249
@@ -0,0 +1,73 @@
983249
+.TH BLTK.CONF 5 "15 July 2009" "BLTK.CONF" "Battery life tool kit configuration"
983249
+.SH NAME
983249
+bltk.conf - config file for bltk
983249
+.SH DESCRIPTION
983249
+bltk.conf may be used to control particular features of bltk. By default, bltk looks for the file in /etc direcotry.
983249
+.SH FORMAT
983249
+The format of bltk.conf is very simple. Each line is either a comment or a directive. Comment lines start with a # and are ignored. A directive line has the format:
983249
+.PP
983249
+option=value
983249
+.PP
983249
+It is important to note that it is an error to put any space between the option, = and value.
983249
+.PP
983249
+Each setting has a compiled in default which may be modified in the configuration file.
983249
+.SH .BOOLEAN OPTIONS
983249
+Below is a list of boolean options. The value for a boolean option may be set to YES or NO.
983249
+.TP
983249
+.B CHK_INSTALLED
983249
+If set to YES, existance of .installed files is checked for.
983249
+.TP
983249
+.B WL_DEVELOPER_ENABLED
983249
+Controls whether developer workload is enabled.
983249
+.TP
983249
+.B WL_DEVELOPER_EXTERN
983249
+Controls whether external sources are used to build workload application.
983249
+.TP
983249
+.B WL_GAME_ENABLED
983249
+Controls whether game workload is enabled.
983249
+.TP
983249
+.B WL_GAME_EXTERN
983249
+Controls whether external sources are used to build workload application.
983249
+.TP
983249
+.B WL_OFFICE_ENABLED
983249
+Controls whether office workload is enabled.
983249
+.TP
983249
+.B WL_OFFICE_EXTERN
983249
+Controls whether external sources are used to build workload application.
983249
+.TP
983249
+.B WL_PLAYER_ENABLED
983249
+Controls whether player workload is enabled
983249
+.TP
983249
+.B WL_PLAYER_EXTERN
983249
+Controls whether external sources are used to build workload application.
983249
+.TP
983249
+.B WL_READER_ENABLED
983249
+Controls whether reader workload is enabled.
983249
+.TP
983249
+.B WL_READER_EXTERN
983249
+Controls whether external sources are used to build workload application.
983249
+.SH .STRING OPTIONS
983249
+.B BLTK_HOME
983249
+This option specifies the location of BLTK's home directory. This directory is used as starting directory for saving results and temporary files.
983249
+.TP
983249
+.B SOFFICE_PROG
983249
+This option specifies an application to be started when office workload is used.
983249
+.TP
983249
+.B WL_OFFICE_WORKING_DIR
983249
+The option specifies working directory for office workload.
983249
+.TP
983249
+.B BLTK_PLAYER_PROG
983249
+The option replaces default aplication to be used for playing audio/video
983249
+.TP
983249
+.B BLTK_PLAYER_FILE
983249
+The option replaces default source to be played.
983249
+.TP
983249
+.B BLTK_READER_PROG
983249
+The option replaces default aplication to be used for reading a document.
983249
+.TP
983249
+.B BLTK_READER_FILE
983249
+The option replaces default document to be read.
983249
+.SH SEE ALSO
983249
+\fBbltk\fR(1)
983249
+.SH AUTHOR
983249
+jskala@redhat.com