We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f14461d commit c84e2ebCopy full SHA for c84e2eb
Documentation/applications/testing/pthread_mutex_perf/index.rst
@@ -0,0 +1,15 @@
1
+=======
2
+Testing
3
4
+
5
+The ``pthread_mutex_perf`` is a simple performance test to validate if some
6
+specific kernel modification impacted the pthread_mutex_trylock().
7
8
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
9
+that is already locked. Then it will calculate the total time and the
10
+average time, repeating this cycle 10 times.
11
12
+This test is not intended to confirm that pthread mutex is working, for that
13
+it is better to use ostest. Its goal is to verify impact in the kernel that
14
+could be considered a regression.
15
0 commit comments