From fc441cc72029ef2f560575225b55e14eba08f426 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Wed, 6 Aug 2008 18:01:25 -0400 Subject: pts-core: Add test-module and debug-module options for running through all module function calls for testing their functionality --- documentation/sensor_monitoring.html | 2 +- documentation/writing_your_first_module.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/sensor_monitoring.html b/documentation/sensor_monitoring.html index 8cad5ae..c6931e0 100644 --- a/documentation/sensor_monitoring.html +++ b/documentation/sensor_monitoring.html @@ -24,7 +24,7 @@ system temperature, battery power consumption, CPU voltage, +3.33V line voltage, in the future.

The full list of supported sensor options can be found by running phoronix-test-suite module-info system_monitor. The sensors actually detected on the current system and their -values can be read by running phoronix-test-suite sensors. Selecting +values can be read by running phoronix-test-suite test-module system_monitor. Selecting sensors to monitor is performed through the MONITOR environmental variable. As examples, to monitor just the CPU temperature while running the universe suite, one would run MONITOR=cpu.temp phoronix-test-suite benchmark universe. diff --git a/documentation/writing_your_first_module.html b/documentation/writing_your_first_module.html index f066117..a015614 100644 --- a/documentation/writing_your_first_module.html +++ b/documentation/writing_your_first_module.html @@ -37,6 +37,10 @@ defined in PTS_MODULES can be set within the LoadModules tag found in ~/.phoronix-test-suite/user-config.xml. Multiple modules can be loaded simultaneously using the PTS_MODULES variable or LoadModules tag by delimiting each command with a comma (,).

+

Note: To run through all of the function calls for a module without needing to run a test, +run phoronix-test-suite test-module MODULE_NAME. Additionally, running +phoronix-test-suite debug-module MODULE_NAME will yield additional debugging details while +executing the same process.

PHP Module

To see all of the functions supported for modules written in PHP, look at pts-core/modules/dummy_module.php and additionally the other .php modules that ship with the Phoronix Test Suite. -- cgit