power-calibrate (0.01.32-1) unstable; urgency=medium * Makefile: bump version * Remove deprecated siginterrupt call, replace with SA_RESTART flag * update copyright to 2021 -- Colin King Fri, 19 Feb 2021 11:47:59 +0100 power-calibrate (0.01.31-1) unstable; urgency=medium * Makefile: bump version * Debian/control: update compat to 13, remove compat file, add Rules-Requires-Root rule -- Colin King Sat, 4 Jul 2020 21:20:19 +0100 power-calibrate (0.01.30-1) unstable; urgency=medium * Makefile: bump version * Add bash completion script * Update copyright to 2020 -- Colin King Wed, 26 Feb 2020 17:11:31 +0000 power-calibrate (0.01.29-1) unstable; urgency=medium * Makefile: bump version * perf: remove redundant variable rc * check for correct number of fields scanned with sscanf -- Colin King Mon, 16 Dec 2019 14:09:14 +0000 power-calibrate (0.01.28-1) unstable; urgency=medium * Makefile: bump version * Debian: Update to compat level 12 -- Colin King Mon, 12 Aug 2019 19:11:12 +0100 power-calibrate (0.01.27-1) unstable; urgency=medium * Makefile: bump version * No need for < comparison on unsigned int * Reduce scope of cpu_cycles and cpu_instr * Use correct format specifiers * Remove a redundant duplicated if statement * Update copyright year (#2) * Update copyright year * Add travis yaml file -- Colin King Tue, 9 Jul 2019 11:29:11 +0100 power-calibrate (0.01.26-1) unstable; urgency=medium * Makefile: bump version * voidify unused function returns * constify path * debian/copyright: use secure URI * debian/control: update debhelper to >= 11 * debian/control: remove trailing empty line * debian/compat: update to 11 -- Colin King Sun, 17 Jun 2018 13:34:42 +0100 power-calibrate (0.01.25-1) unstable; urgency=medium * Makefile: bump version * debian/control: uopdate Standards-Version to 4.1.2 * Fix build issue with perf-less ia64 arch * Update copyright year -- Colin King Thu, 11 Jan 2018 10:16:49 +0000 power-calibrate (0.01.24-1) unstable; urgency=medium * Makefile: bump version * Manual: update copyright year and manual date * Update copyright year * Fix inconsistent indenting -- Colin King Sat, 15 Apr 2017 16:40:11 +0100 power-calibrate (0.01.23-1) unstable; urgency=medium * Makefile: bump version * Move scope of variable discharging * Allow float comparisons some slop * Makefile: add PEDANTIC flags -- Colin King Wed, 2 Nov 2016 13:27:21 -0600 power-calibrate (0.01.22-1) unstable; urgency=medium * Makefile: bump version * debian/control: update Standards-Version to 3.9.8 * Update man page to mention perf mode restrictions * perf: detect when perf counters can't be used (LP: #1627516) -- Colin King Sun, 25 Sep 2016 09:05:53 +0100 power-calibrate (0.01.21-1) unstable; urgency=medium * Makefile: bump version * Fix indentation, as spotted by gcc-6 * Update and correct copyright years -- Colin King Wed, 13 Jan 2016 17:53:23 +0000 power-calibrate (0.01.20-1) unstable; urgency=medium * Clear pids after each round so perf failures don't occur (LP:#1494226) * Makefile: bump version * Handle NaN values for R^2 gracefully * Only update stats if perf counter is valid * Add SI scale 'atto' prefix -- Colin King Thu, 10 Sep 2015 11:58:00 +0100 power-calibrate (0.01.19-1) unstable; urgency=medium * debian/control: update Build-Depends to version 9 or above * Update debian/compat to 9 * Makefile: bump version * Check for zero CPUs * move scaled onto one line * perf: make pid arg const -- Colin King Mon, 7 Sep 2015 23:44:00 +0100 power-calibrate (0.01.18-1) unstable; urgency=medium * Makefile: bump version * Debian: control: fix '..' typo, make lines wider -- Colin King Tue, 4 Aug 2015 16:13:12 +0100 power-calibrate (0.01.17-1) unstable; urgency=medium * Makefile: bump version * Fix units (Watts, Watt-Seconds) -- Colin King Tue, 4 Aug 2015 13:47:12 +0100 power-calibrate (0.01.16-1) unstable; urgency=medium * Update debian control * Add perf.c perf.h to make dist rule * Make RAPL help hint available if RAPL is built-in * Fix build issue on non-RAPL enabled H/W * Makefile: bump version, remove -g flag * Ensure YAML output is correct for all metrics * perf: initialize i in case perf is not opened * Use strtok instead of strtok_r * perf: don't read if ioctl() failed * clear cpu_list, found by valgrind * Add more help on -n option * Add example to help * Update man page * Makefile: improve rules * Make more perf specific code build dependent * Make start delay 0 seconds for RAPL * Remove "Each " from stats * Make perf stats build time dependent * Makefile: make build depend on this * Cater for builds with perf disabled * Make monitor inline, it is called just once * Make next pointers in list start of structs for better performance * Constify func arg * Remove rapl_list global * Remove global max_cpus * Remove global num_cpus * Remove global sample_delay * Remove power_domains, it is not used * Remove global samples_cpu * Clean up of code, remove cpu_list global * Add perf statistics * Switch output from JSON to YAML as it is easier to parse for humans * Make source 80 char wide tty friendly * Remove unused struct measurement_t * Reduce scope of amps[] and volts[] * Don't intialise cpu to -1 as it gets re-assigned a little later on * Clean up func args * mwc() should be 32 bit and not 64 * Fix spelling in struct comment * Remove -C, -S context switch option as this is not accurate -- Colin King Tue, 4 Aug 2015 10:45:00 +0100 power-calibrate (0.01.15-1) unstable; urgency=medium * Makefile: bump version * Remove SIGILL, SIGABRT signal handling * Manual: add copyright, update date * Makefile: Add copyright -- Colin King Mon, 18 May 2015 17:38:00 +0100 power-calibrate (0.01.14-1) unstable; urgency=medium * Prepare for initial upload to Debian (Closes: #782734) * Makefile: bump version -- Colin King Thu, 16 Apr 2015 16:29:00 +0500 power-calibrate (0.01.13-1) unstable; urgency=medium * Makefile: bump version * Make a larger field for load x number of processors. -- Colin King Thu, 16 Apr 2015 16:20:00 +0500 power-calibrate (0.01.12-1) unstable; urgency=medium * Makefile: bump version * Fix non-x86 build, remove some redundant rapl code -- Colin King Sun, 29 Mar 2015 17:15:00 +0100 power-calibrate (0.01.11-1) unstable; urgency=medium * Makefile: bump version * Add -R RAPL per CPU package power measurement -- Colin King Sun, 29 Mar 2015 16:40:00 +0100 power-calibrate (0.01.10-1) unstable; urgency=medium * Makefile: bump version * Add more clarification about the -c mode. * Print the gradient in %e as this generally small for context switches * Add more clarifications in the manual. -- Colin King Sun, 1 Feb 2015 17:27:11 +0000 power-calibrate (0.01.09-1) unstable; urgency=medium * Makefile: Bump version * Add more comments * Guard against division by zero for 0 samples * Update the manual, add more examples * Make Ctxt/s field 1 char wider * Remove the "calibrating" message, in fact, it's warming up * Remove Voltage + Current Info, not really helpful or necessary * Add -e option, re-work output * Change the meaning of the -n option, now list the CPUs to run on. -- Colin King Wed, 21 Jan 2015 19:22:23 +0000 power-calibrate (0.01.08-1) unstable; urgency=medium * Bump makefile version * Update copyright information * Add scripts to make dist * Remove scripts/foo, this was not meant to be checked in -- Colin King Sun, 18 Jan 2015 20:43:12 +0000 power-calibrate (0.01.07-1) unstable; urgency=medium * Makefile: bump version * Clean up error handling messages. * Fix some issues found by Coverity Scan * power-calibrate should be installed to /usr/sbin * Minor adjustments to keep code and manual in sync and up to date * Remove unwanted capacity calculation cruft -- Colin King Sun, 18 Jan 2015 20:28:00 +0000 power-calibrate (0.01.06) vivid; urgency=medium * Makefile: bump version * Update manual * Update help info * Make bogo op counters more cache friendly * Add bogo ops calculation * Correct context switch related messages * Fix context switch stats * Remove use of set_proc_name * Handle signal abort more responsively * Improved reading and error handling for stats * Check for sysconf failures * Handle unknown optarg * Replace APP_NAME with static string app_name * Improve time keeping accuracy and handle stats reading errors * Add -r option for run durations * Add -s. -S samples option, tweaks to improve cpu loading * Make context samples increment 25 instead of 10 * Add -p progress option * Don't trap SIGSEGV or SIGBUS -- Colin King Sun, 18 Jan 2015 15:55:55 +0000 power-calibrate (0.01.05) vivid; urgency=medium * Debian: update standards version * Makefile: bump version * Add better signal handling * Ignore errors on close, fclose, closedir failures * Handle error on time() failing * Handle gettimeofday error returns -- Colin King Tue, 23 Dec 2014 00:14:00 +0000 power-calibrate (0.01.04) vivid; urgency=medium * Makefile: bump version * Forgot to replace all rand() calls with mwc() * Remove rand function, use mcw() as it is far faster * Handle zero power consumption * Add example power calibration script -- Colin King Tue, 2 Dec 2014 11:54:00 +0000 power-calibrate (0.01.03) trusty; urgency=low * Makefile: bump version * Add some more const args * Add some more comments * Add author name into header * unlink json file if tests fail to run * Make max_readings non-configurable * Add -o option to documentation and internal help * Add example json parser script * Add json output -- Colin King Wed, 9 Apr 2014 14:50:00 +0100 power-calibrate (0.01.02) trusty; urgency=low * Makefile: bump version * Fix incorrect current calculation, which is off by a multiple of the CPUs * Fix up stupid multiplication of 1000 for Ctxt Switches -- Colin King Tue, 8 Apr 2014 21:27:00 +0100 power-calibrate (0.01.01) trusty; urgency=low * Makefile: bump version * Calculating power from charge is inaccurate, so remove it -- Colin King Tue, 8 Apr 2014 18:30:00 +0100 power-calibrate (0.01.00) trusty; urgency=low * Initial version -- Colin King Tue, 8 Apr 2014 10:51:00 +0100