History log of /external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
7d0a4a57fbcd47f72b67c08df532e8ef47f6fdae 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Cleanup style and get rid of conflicts problems.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
aacd331fd8aefb25e888c518dae9153a1ca9d43d 04-Aug-2009 subrata_modak <subrata_modak> This line has to be added to avoid a stupid CVS problem. Should be removed in the next commit of the same source file.
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
1897ec4e75abb88c0c249e759036b20a339e456c 03-Aug-2009 subrata_modak <subrata_modak> This set of 3 patches adds a new API stats_container_append to libstats. This function adds new stats_record_t to the record list in stats_container_t. It also replaces the occurrences of data->size with data->index and modifies the test-cases to call the append function. Changelog
---------
- Added index to stats_container_t struct
- Added Append function to add new stats_record_t to records list of stats_container_t
- Replaced the occurrences of data->size by data->index in libstats.c
- Modified the realtime testcases to include call to the append function.
[PATCH 3/3] libstats: Modify testcases to call the append function: This patch modifies the testcases to call the stats_container_append function.
Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com>,
Acked-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Acked-by: Darren Hart <dvhltc@us.ibm.com>,
Acked-by: Sripathi Kodi <sripathik@in.ibm.com>,
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
4ce8327beabab97264810705c509a50c1e6330d9 28-Nov-2008 subrata_modak <subrata_modak> Remove references of jvmsim from the tests: Most of the testcases, have an option (-j) which runs the jvmsim as a background load so as to simulate the behavior of the JVM.This patch removes the references of jvmsim from all the testcases. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>, Acked-by: Sripathi Kodi <sripathik@in.ibm.com>.
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
22a75d509c9703264b737f561067d1d8b454d9e5 06-May-2008 subrata_modak <subrata_modak> Modified hrtimer-prio.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>.
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
d0f013f49cb667e3bfd782eca9f41f32cc6eba22 20-Apr-2008 subrata_modak <subrata_modak> Now that the realtime tests are part of the LTP, there is no need to have any longer specific compilation directives comments in the source files. And in most cases they are incorrect. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Cc: Darren Hart <dvhltc@us.ibm.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
2ddd7378d06c49a065ad4c8b3abec011313ca590 14-Mar-2008 subrata_modak <subrata_modak> 1. Minor fixes:
Added -i to have the number of iterations configurable. However, this number cannot be less than 100 else a calloc fails in init_stat* function, causing sigsegv afterward. The patch also adds the return code checking for these init_stat functions. Added -m args is to have the PASS/FAIL criteria configurable.

2. Bug fix: disk write access deadlock
High prio busy thread hogged cpus forbidding kjournald and pdflush daemons to release filesystem locks. This caused timer_thread to hang waiting for the lock.

Signed-off-by: Gilles Carry <gilles.carry@bull.net>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
1378205b23aad2d399f74f0ab2e97a1cd3f8ecf9 22-Feb-2008 subrata_modak <subrata_modak> 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 < sudh@linux.vnet.ibm.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
4ada1ca5036b7ebe90f3922696f45fbc3b362ef9 20-Feb-2008 subrata_modak <subrata_modak> Here is a second round of cleanup and fixes for the realtime testcases.

1) Make sched_jitter use the create_fifo_thread() library function instead of an open coded solution,
2) Prio-wake calls rt_init() twice, remove the second call,
3) Make sbrk_mutex less verbose by default. One can still use the -v option to get the whole output,
4) It's better to calculate the histogram before saving it. This was introduced in an earlier commit of mine fixing the quantile calculation,
5) Fix runtime displaying of the min and max latencies (when used with -v3). While at it, remove an uneeded avg variable,
6) Various tests still have a hardcoded value for the quantile nines. Use a value automatically calculated from the number of iterations,
7) The log10() call used for automatic quantile nines calculation returns a double result. Cast it to an int. The exp10() call used in stats_quantiles_calc() for checking purposes returns a double result which is compared against a long. Cast it to a long. This allows the following comparison: data->size < (long)exp10(quantiles->nines) to really be false when quantiles->nines has been calculated as log10(data->size).
More generally, it seems that (at least with gcc 4.1.1):
long i = 10000;
double f = exp10(log10(i))

yields (i < f) being true due to rounding,
8) Add latency tracing capability to pthread_kill_latency as is already done on a few other latency tests (gtod_latency, sched_latency, ...),
9) The '::' optional argument specifier for getopt used by the '-v' option is a GNU extension, is not portable and does not work. For example it's not even described in the Debian getopt(3) manpage. Make the '-v' option require a non optional argument,
10)The print buffer is only ever flushed when it is full. Add flushing when the test terminates vi atexit(),
11)The 'period missed' check of the thread first loop should not depend on the thread starting time. This is especially visible on 'slow' platforms where one cannot run the test if thread creation takes a long time. Fix it by removing this dependency. All delays are now calculated relative to when the thread starts,

Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>
Cc: Darren Hart <dvhltc@us.ibm.com>
Cc: Tim Chavez <tinytim@us.ibm.com>
Cc: Matthieu CASTET <matthieu.castet@parrot.com>
Acked-by: Chirag <chirag@linux.vnet.ibm.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
d14a87443fdb285045f956dfd0f45b50e2e05955 18-Jan-2008 subrata_modak <subrata_modak> A huge Update to the RT Linux Tree by Sebastien Dugu <sebastien.dugue@bull.net>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
6acdc8efa73ceb0c3b515cd34c333d929e8b4273 26-Dec-2007 subrata_modak <subrata_modak> Initial Set of Real Time Linux Test Cases, by Nivedita Singhvi <niv@us.ibm.com> & sudhanshu Singh <sudhanshusingh@in.ibm.com>
/external/ltp/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c