History log of /external/autotest/client/tests/tsc/src/checktsc.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
63947c717468aa221be0f6a0362f62677648cf27 21-Jun-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> TSC test: Reverting r4474

The change I made on the patch does not correspond
to the original change Glommer sent and it's wrong.
Reverting it.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4654 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/tsc/src/checktsc.c
1f2dfb046ecb28a3b2bc808717132d36dc50c3a3 06-May-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> tsc test: Make the test more robust

I've recently saw a lot of failures on running checktest test
on virtual machines. Investigating further, it seems that running it
into VMs just makes a conceptual problem more likely to happen:
Since we're in userspace, the other thread that should read tsc can be
out of the of the cpu at the moment, so all measures will be very different.

This is indicated by the tsc roundtrip. In failed measures, they are all
quite big. So I am proposing this patch, that basically ignores
roundtrips that are twice as big as the threshold, or more. It makes the
test pass to me, in machines I would expect them to.

Also, remove the -static constraint on tsc's Makefile, since it will
cause the compilation to fail in certain boxes.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4474 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/tsc/src/checktsc.c
9f0d48b9a6bfe709b1b42f2d2aebe5abd6ae3df9 25-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Expand the tsc tarball to make it easier to maintain

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2034 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/tsc/src/checktsc.c