From: Subrata <sub...@us...> - 2008-02-22 14:44:30
|
Update of /cvsroot/ltp/ltp/testcases/realtime/func/hrtimer-prio In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23978/ltp/testcases/realtime/func/hrtimer-prio Modified Files: hrtimer-prio.c Log Message: There are numerous cleanups, fixes and features went into our locally maintained version of realtime tests, since its intergration in LTP december last year. This patch merges those changes into LTP tree. The patch majorly contains : - All features, cleanups and fixes done by IBM realtime team over last two month or so. - Change in copyrights( year, symbil and limiting columns to 80 chars) - Other few cleanups to ltp-realtime tests. Signed-off-by : Sudhanshu Singh < su...@li...> Index: hrtimer-prio.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** hrtimer-prio.c 20 Feb 2008 10:12:59 -0000 1.3 --- hrtimer-prio.c 22 Feb 2008 14:43:56 -0000 1.4 *************** *** 1,5 **** /****************************************************************************** * ! * Copyright International Business Machines Corp., 2007 * * This program is free software; you can redistribute it and/or modify --- 1,5 ---- /****************************************************************************** * ! * Copyright © International Business Machines Corp., 2007, 2008 * * This program is free software; you can redistribute it and/or modify *************** *** 18,37 **** * * NAME ! * hrtimer-prio.c * * DESCRIPTION ! * Test the latency of hrtimers under rt load. ! * The busy_threads should run at a priority higher than the system ! * softirq_hrtimer, but lower than the timer_thread. The timer_thread ! * measure the time it takes to return from a nanosleep call. If the ! * lower priority threads can increase the latency of the higher ! * priority thread, it is considered a failure. * * USAGE: ! * Use run_auto.sh script in current directory to build and run test. ! * Use "-j" to enable jvm simulator. * ! * Compilation: gcc -O2 -g -D_GNU_SOURCE -I/usr/include/nptl -I ../../include ! * -L/usr/lib/nptl -lpthread -lrt -lm hrtimer-prio -o hrtimer-prio.c * * AUTHOR --- 18,37 ---- * * NAME ! * hrtimer-prio.c * * DESCRIPTION ! * Test the latency of hrtimers under rt load. ! * The busy_threads should run at a priority higher than the system ! * softirq_hrtimer, but lower than the timer_thread. The timer_thread ! * measure the time it takes to return from a nanosleep call. If the ! * lower priority threads can increase the latency of the higher ! * priority thread, it is considered a failure. * * USAGE: ! * Use run_auto.sh script in current directory to build and run test. ! * Use "-j" to enable jvm simulator. * ! * Compilation: gcc -O2 -g -D_GNU_SOURCE -I/usr/include/nptl -I../../include ! * -L/usr/lib/nptl -lpthread -lrt -lm hrtimer-prio -o hrtimer-prio.c * * AUTHOR *************** *** 39,43 **** * * HISTORY ! * 2007-Aug-08: Initial version by Darren Hart <dv...@us...> * *****************************************************************************/ --- 39,43 ---- * * HISTORY ! * 2007-Aug-08: Initial version by Darren Hart <dv...@us...> * *****************************************************************************/ |